Warning C4251in CEUILogger.h & location of header files
Posted: Tue May 17, 2005 21:14
As my previous posts were ignored, here we go again...
Can the following #pragma be placed in the CEGUILogger.h file itself, so we don't need to use a hacked version of CEGUI to avoid C4251 warnings? I get a whole mess of them when I compile against CEGUI using MSVC 7.1.
Something like...
#if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4251)
# pragma warning(disable : 4275)
#endif
Also, I was just wondering why all the internal references to CEGUI headers do not prefix "CEGUI/" before their filename? When I install the headers they are placed within a "CEGUI" directory in my "/usr/local/include" (which is good), but now I have to specifically add "/usr/local/include/CEGUI" to my header search path. This seems unnecessary since "CEGUI/" could be prefixed to the header paths within CEGUI files.
Thanks in advance!
PLUG ALERT: Check out Delta3D at http://www.delta3d.org, the military's open-source game engine. We are integrating CEGUI for our next release
-chris
Can the following #pragma be placed in the CEGUILogger.h file itself, so we don't need to use a hacked version of CEGUI to avoid C4251 warnings? I get a whole mess of them when I compile against CEGUI using MSVC 7.1.
Something like...
#if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4251)
# pragma warning(disable : 4275)
#endif
Also, I was just wondering why all the internal references to CEGUI headers do not prefix "CEGUI/" before their filename? When I install the headers they are placed within a "CEGUI" directory in my "/usr/local/include" (which is good), but now I have to specifically add "/usr/local/include/CEGUI" to my header search path. This seems unnecessary since "CEGUI/" could be prefixed to the header paths within CEGUI files.
Thanks in advance!
PLUG ALERT: Check out Delta3D at http://www.delta3d.org, the military's open-source game engine. We are integrating CEGUI for our next release
-chris