Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-f.b-one.net (mx-f.one.com [91.198.169.53])
	by mail9.b-one.net (Postfix) with ESMTP id BB847400165
	for <info@awaresystems.be>; Thu, 22 Jan 2009 17:32:09 +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-f.b-one.net (Postfix) with ESMTP id 0A39D28000BE
	for <info@awaresystems.be>; Thu, 22 Jan 2009 17:32:09 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 34ABB1D18E0BB;
	Thu, 22 Jan 2009 11:31:38 -0500 (EST)
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by lists.maptools.org (Postfix) with ESMTP id 40AD11D18E112
	for <tiff@lists.maptools.org>; Thu, 22 Jan 2009 11:31:17 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	n0MGVGJE022626; Thu, 22 Jan 2009 10:31:16 -0600 (CST)
Date: Thu, 22 Jan 2009 10:31:16 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Edward Lam <edward@sidefx.com>
In-Reply-To: <49789D94.6020302@sidefx.com>
Message-ID: <Pine.SOC.4.64.0901221028010.25129@freddy.simplesystems.org>
References: <49769F6C.4020908@pobox.com> <49778F6A.6080700@sidefx.com>
	<49789D94.6020302@sidefx.com>
MIME-Version: 1.0
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

On Thu, 22 Jan 2009, Edward Lam wrote:
>
> As for the tools, tiffcrop fails to compile on Windows. stdint.h is not
> available on Windows. I only took a quick look and I'm not sure if it's
> necessary?

It is an error for tiffcrop to be using stdint.h at all since stdint.h 
is not portable, and facilities are already in place to make up for 
it.  Libtiff should not require more than c'89.

>  #ifndef HAVE_GETOPT
>  extern int getopt(int, char**, char*);
> +extern int optind;
>  #endif

This little bit may be important to other platforms as well.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

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