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

2020.01.25 20:24 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn

I pushed a git changeset with nmake build fixes.

Because automated configuration using the nmake build is not easy to accomplish, I added these user-configurable settings to nmake.opt:

# If your MSVC does not provide strtol() and strtoul(), then these # should be set to 0.

HAVE_STRTOL = 1
HAVE_STRTOUL = 1

# Users of MSVC 19.20 ("Visual Studio 2019") and later should set these to 1

HAVE_STRTOLL = 0
HAVE_STRTOULL = 0

The sense of the related pre-processor logic in libport.h has been changed to match normal Autoconf (as produced by AC_REPLACE_FUNCS) values.

Since the port directory gets built before libtiff/tif_config.h gets created (at least for the nmake build) I generated the necessary pre-processor options so that the HAVE_STR* definitions are correct when the port files get built.

Assistance from interested (in continuing to use nmake) parties to verify that everything is satisfactory prior to the next libtiff release is appreciated.

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