Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-g.b-one.net (mx-g.one.com [91.198.169.54])
	by mail9.b-one.net (Postfix) with ESMTP id 77FCC400165
	for <info@awaresystems.be>; Thu, 22 Jan 2009 22:00:32 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-g.b-one.net (Postfix) with ESMTP id BE36E14000B7
	for <info@awaresystems.be>; Thu, 22 Jan 2009 22:00:25 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 0F9941D18E0D5;
	Thu, 22 Jan 2009 15:59:49 -0500 (EST)
Received: from sasl.smtp.pobox.com (a-sasl-fastnet.sasl.smtp.pobox.com
	[207.106.133.19])
	by lists.maptools.org (Postfix) with ESMTP id 222B71D18E0AA
	for <tiff@lists.maptools.org>; Thu, 22 Jan 2009 15:54:38 -0500 (EST)
Received: from localhost.localdomain (unknown [127.0.0.1])
	by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id
	9C53B923D8; Thu, 22 Jan 2009 15:54:37 -0500 (EST)
Received: from [192.168.2.4] (unknown [67.47.28.121]) (using TLSv1 with
	cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate
	requested)
	by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id
	8F01F923D5; Thu, 22 Jan 2009 15:54:25 -0500 (EST)
Message-ID: <4978DD00.6010105@pobox.com>
Date: Thu, 22 Jan 2009 15:54:24 -0500
From: Frank Warmerdam <warmerdam@pobox.com>
User-Agent: Thunderbird 2.0.0.6 (X11/20071022)
MIME-Version: 1.0
To: Edward Lam <edward@sidefx.com>
References: <49769F6C.4020908@pobox.com> <49778F6A.6080700@sidefx.com>
	<49789D94.6020302@sidefx.com>
	<Pine.SOC.4.64.0901221028010.25129@freddy.simplesystems.org>
	<4978DB7D.3000405@sidefx.com>
In-Reply-To: <4978DB7D.3000405@sidefx.com>
X-Pobox-Relay-ID: E18D3E28-E8C6-11DD-934E-5720C92D7133-06493634!a-sasl-fastnet.pobox.com
Cc: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] libtiff 4.0.0beta3
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

Edward Lam wrote:
> Bob Friesenhahn wrote:
>>>  #ifndef HAVE_GETOPT
>>>  extern int getopt(int, char**, char*);
>>> +extern int optind;
>>>  #endif
>>
>> This little bit may be important to other platforms as well.
> 
> Actually, it would be good if we had a common header that all the 
> libtiff tools used that had this. As it stands right now, various tools 
> use getopt without even declaring it, relying on a default generated 
> function prototype. (See build3.txt in my previous email).

Edward,

Oddly, i'm on it. I'm commiting a libport.h that will have some of these
definitions in it.  For now I'm only using this on windows (Makefile.vc).
I'm really not too clear how all this libport magic works on unix.

/me aims for warning free builds...

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
