ryanqq / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

test suite now pops up TIFF warning message box #276

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the non regression test suite is now popping up a message box about 
some kind of unknonw tiff marker. This stops the test suite from working 
properly on win32.

Original issue reported on code.google.com by mathieu.malaterre on 6 Mar 2014 at 4:46

GoogleCodeExporter commented 9 years ago
Technically there are two approachs:

1. Compile TIFF on WIN32 with -DTIF_PLATFORM_CONSOLE
2. Override the error handler (TIFFSetWarningHandler + TIFFSetErrorHandler)

Technically option 1 is not the best since openjpeg as a library should not 
decide for the application programmer (+ that would breaks backward compat).

I think our only solution is that for all the test suite program to have a 
special handler that redirect to stderr instead.

Original comment by mathieu.malaterre on 6 Mar 2014 at 5:17

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2601.

Original comment by mathieu.malaterre on 7 Mar 2014 at 9:03