AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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

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

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?)

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.

I hope this may be of use. Please advise should this not be the correct procedure.

Kind regards,

Leonardo