I'm having issues with XCode, LLVM and the _DEBUG definition. Or more specifically it seems to be something with underscore.
This is the second time I'm getting an error like this. This time Im compiling against PhysX lib.
/Library/Frameworks/PhysX.framework/Versions/3.2.1/include/foundation/PxPreprocessor.h:316:35: Expected value in expression
The line it's complaining about:
#if !defined(PX_CHECKED) && _DEBUG
And it points at right after the _DEBUG. If I remove the underscore it compiles fine (I did that on a similiar library last time as well, see http://www.ogre3d.org/forums/viewtopic.php?f=2&t=78990). But now Im feeling uneasy about this error. What is causing it and what does it mean?
Settings: Dialect: C++11, libc++ (Tried different ones, like GNUC++11 Max OSX 10.8 XCode 5 LLVM 5.0