Made WARNING build option usable again
authorIngo Ruhnke <grumbel@gmail.com>
Sun, 10 Aug 2014 17:46:54 +0000 (19:46 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Sun, 10 Aug 2014 17:46:54 +0000 (19:46 +0200)
commit2b4d3758e0f8d3a8de962f85eea5a4ada723706d
treeece586f1a63a4a67ccf26537582bc0ff05634209
parentfb7ec3e0b1fefa5d88bd1a4c8b81a3b71a72c1fd
Made WARNING build option usable again

* disabled compiler warning that currently make the build fail
* made warnings specific to the supertux2 target
* split of .c code into separate target, as gcc doesn't like C++ warning flags for C files
* fixed a few -Weffc++ issues in the code
17 files changed:
CMakeLists.txt
src/badguy/goldbomb.cpp
src/badguy/haywire.cpp
src/badguy/haywire.hpp
src/badguy/livefire.cpp
src/gui/menu.cpp
src/object/bonus_block.cpp
src/object/player.cpp
src/supertux/game_session.cpp
src/supertux/title_screen.cpp
src/supertux/world.hpp
src/trigger/secretarea_trigger.cpp
src/video/gl/gl_renderer.cpp
src/video/gl/gl_renderer.hpp
src/video/sdl/sdl_lightmap.cpp
src/video/sdl/sdl_texture.cpp
src/worldmap/worldmap.cpp