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

2020.01.26 17:34 "Re: [Tiff] Warnings while building tools", by Miguel Medalha

Thanks for the changes. (for others, the changes exist at https://gitlab.com/libtiff/libtiff/commit/58b16f47a82323c05ec81f0a821700beb8c2c5a0

As it is, under MSVC 2019 the build still generates the following warnings:

..\port\libport.h(43): warning C4273: 'strtoll': inconsistent dll linkage

C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt\stdlib.h(539): note: see previous definition of 'strtoll' ..\port\libport.h(49): warning C4273: 'strtoull': inconsistent dll linkage

C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt\stdlib.h(569): note: see previous definition of 'strtoull

This happens with the following in nmake.opt:

HAVE_STRTOLL = 1
HAVE_STRTOULL = 1

Meanwhile, I noticed that the warnings disappear if the following lines are disabled in libtiff/tif_config.vc.h:

# if _MSC_VER >= 1920 /* Visual Studio 2019 has strtoll/strtoull */
# define HAVE_STRTOLL 1
# define HAVE_STRTOULL 1
# endif