AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2016.10.05 08:11 "[Tiff] Suppress warning about old-style JPEG compression", by John Brown
2016.10.06 11:17 "Re: [Tiff] Suppress warning about old-style JPEG compression", by Charles Auer
2016.10.06 12:01 "Re: [Tiff] Suppress warning about old-style JPEG compression", by John Brown
2016.10.06 12:39 "Re: [Tiff] Suppress warning about old-style JPEG compression", by Olivier Paquet
2016.10.07 21:28 "Re: [Tiff] Suppress warning about old-style JPEG compression", by John Brown
2016.10.07 21:38 "Re: [Tiff] Suppress warning about old-style JPEG compression", by Bob Friesenhahn
2016.10.07 21:48 "Re: [Tiff] Suppress warning about old-style JPEG compression", by John Brown

2016.10.06 12:39 "Re: [Tiff] Suppress warning about old-style JPEG compression", by Olivier Paquet

2016-10-06 8:01 GMT-04:00 John Brown <johnbrown105@hotmail.com>:

Would you say that it is a bug that on Windows the error message is displayed in a message box instead of written to stderr?

It is something which can be changed when libtiff is compiled. At the top of nmake.opt, you can find:

#

# Select WINMODE_CONSOLE to build a library which reports errors to stderr, or # WINMODE_WINDOWED to build such that errors are reported via MessageBox().

#
WINMODE_CONSOLE = 1
#WINMODE_WINDOWED = 1

But it might be easier to install an error handler which prints the errors to stderr than to rebuild or change your libtiff.

Olivier