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

2020.01.29 14:14 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn

I have now pushed what should hopefully be the last simplification to the nmake build. This is the description that I entered for the two relevant commits:

"Make sure that tif_config.h is produced prior to entering the port directory and add an include path so that the port files can include tif_config.h. Do not actually include tif_config.h at this time since CMake and Autotools builds are not prepared for that. This issue could be handled by updating the CMake and Autotools builds or by adding a define which directs libport.h to include tif_config.h."

"Simplify nmake configuration for building port directory. Now there is only one boolean setting to enable building strtoll() and strtoull() port functions. The boolean setting enables the necessary port files to be built, but the remainder of the logic is via pre-processor code in the common tif_config.h, which was prepared before entering the port directory to do a build."

Now there is only one boolean setting in nmake.opt, which is default enabled:

# Indicate if the compiler provides strtoll/strtoull (default 1) # Users of MSVC++ 14.0 ("Visual Studio 2015") and later should set this to 1

HAVE_STRTOLL = 1

I have tested this with Visual Studio 2008 and 2019. Independent testing with other versions is useful.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/