We came up against a (potentially very isolated) issue when using OpenImageIO 
on Linux within a Maya plugin, at some point one of Maya’s headers indirectly 
includes Xlib.h which does 

#define True 1
#define False 0

and thus causes a lot of "expected unqualified-id before numeric constant" 
errors in OIIO’s simd.h

Although we could bury/hide some of the OIIO usage we decided to undef the two 
macros as it doesn’t seem to break anything. 

Have others come across this and if so was there a more elegant solution?

Colin


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to