AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.12.17 20:54 "[Tiff] Deleting tags from a directory", by Frank Warmerdam
[...]
2009.01.22 16:23 "Re: [Tiff] libtiff 4.0.0beta3", by Edward Lam
2009.01.22 16:31 "Re: [Tiff] libtiff 4.0.0beta3", by Bob Friesenhahn
2009.01.22 17:00 "Re: [Tiff] libtiff 4.0.0beta3", by Bob Friesenhahn
2009.01.22 19:38 "Re: [Tiff] libtiff 4.0.0beta3", by Frank Warmerdam
[...]

2009.01.22 19:38 "Re: [Tiff] libtiff 4.0.0beta3", by Frank Warmerdam

Looks like I spoke too soon. I had previously only built libtiff with my custom build process and did not go through the usual nmake.

I did a pass using the canonical build instructions for MSVC and got some additional warnings similar to:

tif_lzw.c(389): warning C4244: '+=': conversion from 'tmsize_t' to 'long', possible loss of data tif_lzw.c(606): warning C4244: '+=': conversion from 'tmsize_t' to 'long', possible loss of data tif_lzw.c(715): warning C4244: '=': conversion from 'tmsize_t' to 'long', possible loss of data

Edward,

I have been unable to reproduce these warnings with MSVC 7.1 (studio 2003). I used /Ox /MD /EHsc /W3 options. What version of MSVC and what options did you use? A full list of these warnings (at least within the library itself) would be appreciated.

These particular ones are not actually significant on review, but others might well be and in any event we would like 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