2005.11.18 21:45 "[Tiff] GCC and libtiff-3.7.4: warnings, and tentative patch", by Leonardo Serni

2005.11.23 22:36 "Re: [Tiff] GCC and libtiff-3.7.4: warnings, and tentative patch", by Andrey Kiselev

Hi, Leonardo,

On Fri, Nov 18, 2005 at 10:45:25PM +0100, Leonardo Serni wrote:

I have downloaded and compiled libtiff-3.7.4 using GNU gcc 4.0.1 (BTW, the software is referred on www.libtiff.org as 3.6.1, is this correct?)

That site does not belong to libtiff developers anymore. Our main page is

 http://www.remotesensing.org/libtiff/

I got several trivial warnings which I got rid of applying the patch attached. There's a probably non-portable GCC extension to get rid of "unused parameters" warnings that I labeled "UNUSED". On non-GCC compilers it may be disabled by declaring it as empty.

Thanks for the patch, it is applied with few modifications (several things were fixed in CVS already). Instead of UNUSED thing I am using

 (void) variable;

in the function body.

Regards,
Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5970603 ICQ# 26871517