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
Warning C4251in CEUILogger.h & location of header files
Moderators: CEGUI MVP, CEGUI Team
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: Warning C4251in CEUILogger.h & location of header files
I submitted a simple patch a few days ago, that adds exactly that to CEGUILogger.h.
So let's hope _mental_ adds it to the core
So let's hope _mental_ adds it to the core
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 3 guests