2020.01.18 13:19 "[Tiff] Warnings while building tools", by Miguel Medalha

2020.01.18 16:03 "Re: [Tiff] Warnings while building tools", by Greg Troxel

I built libtiff 4.10 on Windows using Microsoft's Visual Studio nmake.

This is probably the issue :-)

It builds with almost no warnings (just a type-punned pointer complaint) on NetBSD 8/amd64 and no warnings on NetBSD 8/i386.

I encountered a small glitch with the tiffset tool, which wouldn't build, complaining that 'strtoll' was undefined. After some web search I solved this by replacing 'strtoll' with '_strtoi64' in 'tiffset.c'. After this, all wen well.

Maybe, but probably not really ok. Types have to be gotten right.

Look in libtiff/tif_config.h, and in configure.ac. Look in all others files (e.g. with grep -R) for TIFF_SSIZE_T.

It is very likely that the root of your trouble is that the type chosen isn't a good one for your system.

You didn't explain if you are using i386 or x86_64 mode, what version of windows, or what version of Visual Studio.

I don't use Windows, so I won' tbe able to help you further, but the above hints, if you understand C and autoconf, should help.