AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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
2020.01.18 16:34 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.18 19:45 "Re: [Tiff] Warnings while building tools", by Greg Troxel
2020.01.18 21:24 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.18 21:27 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.18 21:32 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.18 22:29 "Re: [Tiff] Warnings while building tools", by Roger Leigh
2020.01.19 02:05 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.19 11:51 "Re: [Tiff] Warnings while building tools", by Even Rouault
2020.01.19 15:13 "Re: [Tiff] Warnings while building tools", by Greg Troxel
2020.01.19 15:54 "Re: [Tiff] Warnings while building tools", by ZdPo Ster
2020.01.19 16:53 "Re: [Tiff] Warnings while building tools", by Roger Leigh
2020.01.19 19:41 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.21 19:23 "Re: [Tiff] Warnings while building tools", by Su
2020.01.21 20:03 "Re: [Tiff] Warnings while building tools", by Roger Leigh
2020.01.22 03:07 "Re: [Tiff] Warnings while building tools", by Edward Lam
2020.01.22 14:41 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.22 20:50 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.22 21:16 "Re: [Tiff] Warnings while building tools", by Su
2020.01.22 22:56 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.23 13:01 "Re: [Tiff] Warnings while building tools", by Even Rouault
2020.01.25 20:10 "Re: [Tiff] Warnings while building tools", by Su
2020.01.23 13:05 "Re: [Tiff] Warnings while building tools", by Su
2020.01.25 16:22 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.25 20:24 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.26 16:37 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.26 16:39 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.26 17:34 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.26 23:57 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.27 00:53 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.27 01:24 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.27 13:04 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.22 12:25 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.22 16:47 "Re: [Tiff] Warnings while building tools", by Greg Troxel
2020.01.22 19:13 "Re: [Tiff] Warnings while building tools", by Christoph Gohlke
2020.01.22 20:12 "Re: [Tiff] Warnings while building tools", by Miguel Medalha
2020.01.23 03:44 "Re: [Tiff] Warnings while building tools", by Edward Lam
2020.01.29 14:14 "Re: [Tiff] Warnings while building tools", by Bob Friesenhahn
2020.01.29 14:31 "Re: [Tiff] Warnings while building tools", by Jeff McKenna
2020.01.19 17:32 "Re: [Tiff] Warnings while building tools", by Miguel Medalha

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

On Tue, 21 Jan 2020, Edward Lam wrote:

On 1/21/2020 3:03 PM, Roger Leigh wrote:

As an example relevant to this discussion, VS2019 supports strtoll and strtoull, so if you configure with this version of MSVC, you should get the native CRT functions used automatically, not the compatibility reimplementations.

To be honest, this is a bad example. The compatibility layer should just automatically choose to do the right thing using predefined and well-known macro definitions. This is the part where I want this stuff built into the code itself and not in the build system.

I plan to test the nmake-based build and add the few missing lines of code necessary for it to work properly again under ideal circumstances. It seems very straightforward. It is good to know that VS2019 supports strtoll and strtoull so preprocessor logic can be added to make things work automatically.

There is no guarantee of anything related to libtiff and the nmake-based build is the least supported of the three existing build infrastructures and it is not continually validated. The nmake-based build is relatively trivial and not difficult to keep working. The main problem is that this has not been recently done.

Libtiff is built as part of GraphicsMagick's Visual Studio build. Parts of the nmake-based build (particularly template header files) were used as the basis for this build. The headers output by cmake are definitely not as useful for this purpose. It is likely that other projects which don't treat libtiff as an externally-build library benefit from this useful starting point.

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

Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt