Error C2220

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

C++User
Just popping in
Just popping in
Posts: 3
Joined: Mon Jan 19, 2009 13:12

Error C2220

Postby C++User » Thu Jan 22, 2009 13:07

Hi for all.

I'm compiling CEGUI with OGRE in 64 bits. Everything works fine until the compilation process arrives the OgreCEGUITexture.cpp file. The problem occurs in the line 115.


Code: Select all

OgreCEGUITexture.cpp(115) : error C2220: warning treated as error - no 'object' file generated


I noticed some guys have this problem before. Can you explain to me how you solved?

Thanks for replies

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Thu Jan 22, 2009 14:12

It's no secret that CEGUI code, and unfortunately even the public headers generate warnings - this is something that we will be addressing, although in the meantime it does preclude you from using the "treat warnings as errors" compiler options, even in your own code that uses CEGUI :(

CE.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 13 guests