Page 1 of 1

Error C2220

Posted: Thu Jan 22, 2009 13:07
by C++User
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

Posted: Thu Jan 22, 2009 14:12
by CrazyEddie
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.