Re: 2.2.0 release plans

Ed Hanway <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <892CC45FE8899F49AD32FB9A147BD89A3B0BA039@mailbox10.lucas.alllucas.com>
I believe it's only when using USE_ZLIB_WINAPI that the min/max issue happens.  With that option enabled, zlib.h drags in the windows headers, causing the conflict.  There are places in IlmBase that use windows includes directly (IlmThread) already use the #define NOMINMAX prior to the include to avoid this.

Question: does anybody really count on the USE_ZLIB_WINAPI option?

From: [email protected] [mailto:[email protected]] On Behalf Of Karl Rasche
Sent: Wednesday, July 16, 2014 11:08 AM
To: Larry Gritz
Cc: [email protected]
Subject: Re: [Openexr-devel] 2.2.0 release plans

It sure looks like std::min/max usage is contained to within .cpp files.

There's a variety of other places that use the same functions - but only IlmDwaCompressor.cpp was causing problems? That seems a bit wierd.

Karl

On Wednesday, July 16, 2014, Larry Gritz <[email protected]<mailto:[email protected]>> wrote:
Another application that uses the OpenEXR libraries will #include the OpenEXR headers, but will not actually use the OpenEXR build system and its command line preprocessor settings.

So if this issue extends to any of the header files, you need to fix it in the headers, or it'll be broken in the user's app

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.