2021.01.01 19:31 "[Tiff] Enabling and requiring C99 language support", by Roger Leigh

2021.01.01 23:56 "Re: [Tiff] Enabling and requiring C99 language support", by Bob Friesenhahn

Would it be possible to find a preprocessor that could convert some parts of C99 and then to stay within the C99 features that the preprocessor could handle?

google finds https://github.com/libav/c99-to-c89 but I don't know if it works.

The topic here is just some parts of C'99 that Microsoft failed to implement until recently (2015 vs 1997 like the rest of the world).

In particular, there is a header file called stdint.h which is very useful in that it provides standard type names for different sized storage units. By using the standard names, the software can be more "portable" since variable declared with that type will represent the same storage size regardless of if the app is 32-bit, 64-bit, or a Intel, or PowerPC, or MIPS, or ARM architecture.

The problem is availability of a useful feature rather than a syntax issue.

Libtiff is extremely old (started in 1988) and so these features did not exist when it was invented.

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