Warning C4251in CEUILogger.h & location of header files

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
osb1842
Just popping in
Just popping in
Posts: 7
Joined: Tue May 03, 2005 17:29
Location: Monterey, CA
Contact:

Warning C4251in CEUILogger.h & location of header files

Postby osb1842 » 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

User avatar
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

Postby lindquist » Fri May 20, 2005 13:30

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 :)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 10 guests