openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] warning: "ASSERT" redefined


From: Nathan Kurz
Subject: [Openexr-devel] warning: "ASSERT" redefined
Date: Sun, 10 Oct 2004 22:51:07 -0600
User-agent: Mutt/1.5.6i

Hello ---

I'm working with an application that has OpenEXR support, and I'm
finding that the external OpenEXR headers seem to include some defines
that probably should be used only internally within OpenEXR code.  In
particular, including <OpenEXR/ImfInputFile.h> gives me this warning:

  In file included from /usr/include/OpenEXR/Iex.h:48,
                   from /usr/include/OpenEXR/ImfHeader.h:53,
                   from /usr/include/OpenEXR/ImfInputFile.h:46,
                   from fileexr.C:11:
  /usr/include/OpenEXR/IexMacros.h:139:1: warning: "ASSERT" redefined

I get this warning because I'm using ASSERT as a macro within my own
code, but defined in a way that is appropriate for my application.
Would it be possible that to have these internal macros kept more
internally?  Or am I doing something wrong by including ImfInputFile?

Thanks!

Nathan Kurz
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]