diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-27 23:43:57 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-27 23:46:08 +0200 |
commit | ae624b3458caaee9cee762af16bce5ff6b0302a7 (patch) | |
tree | 2b0c3983f44180043560d0495a5c639204cf2308 | |
parent | d4f3105d9a879f27baad6e43b8b3cb6fe2f0ef50 (diff) | |
download | manaserv-ae624b3458caaee9cee762af16bce5ff6b0302a7.tar.gz manaserv-ae624b3458caaee9cee762af16bce5ff6b0302a7.tar.xz manaserv-ae624b3458caaee9cee762af16bce5ff6b0302a7.zip |
Warn at failing overrides
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 85d6b6d..8fc5f6e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,7 +5,7 @@ FIND_PACKAGE(SigC++ REQUIRED) IF (CMAKE_COMPILER_IS_GNUCXX) # Help getting compilation warnings - SET(CMAKE_CXX_FLAGS "-Wall") + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") IF (WIN32) # This includes enough debug information to get something useful # from Dr. Mingw while keeping binary size down. Almost useless @@ -42,6 +42,7 @@ SET(FLAGS "${FLAGS} -DPKG_DATADIR=\\\"${PKG_DATADIR}/\\\"") SET(FLAGS "${FLAGS} -DLOCALEDIR=\\\"${LOCALEDIR}/\\\"") SET(FLAGS "${FLAGS} -std=c++0x") +SET(FLAGS "${FLAGS} -Woverloaded-virtual") # If the Sqlite option is enabled... IF (WITH_SQLITE) |