Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-h.b-one.net (mx-h.one.com [91.198.169.55])
	by mail9.b-one.net (Postfix) with ESMTP id 5A1E5400107
	for <info@awaresystems.be>; Mon, 21 Jun 2010 23:52:19 +0200 (CEST)
Received: by mx-h.b-one.net (Postfix, from userid 106)
	id 51B832612CF9; Mon, 21 Jun 2010 23:52:19 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-h.b-one.net (Postfix) with ESMTP id B59DC2612CF9 for
 <info@awaresystems.be>; Mon, 21 Jun 2010 23:52:18 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 41CA41D18E0AA; Mon, 21 Jun 2010
 16:51:35 -0500 (EST)
Received: from mail.sidefx.com (mail.sidefx.com [38.99.137.163]) by
 lists.maptools.org (Postfix) with ESMTP id 56C7F1D1A16AD for
 <tiff@lists.maptools.org>; Mon, 21 Jun 2010 16:20:57 -0500 (EST)
Message-ID: <4C1FD7B0.7010605@sidefx.com>
Date: Mon, 21 Jun 2010 17:20:48 -0400
From: Edward Lam <edward@sidefx.com>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: Olivier Paquet <olivier.paquet@gmail.com>
References: <4C1A9D5B.3000908@sidefx.com>
 <alpine.GSO.2.01.1006172137570.12887@freddy.simplesystems.org>
 <4C1B7208.3040802@sidefx.com>
 <AANLkTimJ6uZT6ETdVCOMk9uLFp_yBn0kKQyabI0VOJZl@mail.gmail.com>
In-Reply-To: <AANLkTimJ6uZT6ETdVCOMk9uLFp_yBn0kKQyabI0VOJZl@mail.gmail.com>
Cc: Tiff List <tiff@lists.maptools.org>
Subject: Re: [Tiff] libtiff 4.0 compiler warning on x64 in tif_read.c
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

Olivier Paquet wrote:
> On Fri, Jun 18, 2010 at 9:18 AM, Edward Lam <edward@sidefx.com> wrote:
>> I could go and just do blind type changes from int to tmsize_t until the
> 
> I wouldn't do it blindly just yet but it looks like both instances of
> read_ahead in there should have been tmsize_t.

Changing those two read_ahead declarations to tmsize_t seems to appease 
VC8. If there's no objections, perhaps you can make the changes?

> Perhaps so for 64-bit gcc (couldn't find it though) but I don't think
> anything can be done if the author is working on a 32-bit system where
> there is nothing to warn about. We just have to deal with the fact
> that different compilers emit different sets of warnings.

That's too bad. I would have assumed most people are on 64-bit gcc these 
days.

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