Wrong compiler flags for GCC under Linux x86_64

kornerr

28-02-2010 09:49:21

Hello. I use Ogre branch v1-7 svn rev 9785 and MyGUI svn rev 2871 under Linux x86_64.
I cannot compile MyGUI, until I remove the following line from CMakeLists.txt:
add_definitions(-Wno-deprecated -Wall -Wctor-dtor-privacy -Winit-self -Woverloaded-virtual -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter)