diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-04 17:40:06 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-22 22:22:36 +0200 |
commit | 40b8ba5a3f34028d208d4e0dc1b46940d6fe5a47 (patch) | |
tree | 88d7de17e54f110167484a50e716f343b91a226a | |
parent | c578fc671bc2983b2979919108b1b38c772641b5 (diff) |
Warn about missing override
-rw-r--r-- | build_settings.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_settings.cmake b/build_settings.cmake index fb41490f4dd..534089bb891 100644 --- a/build_settings.cmake +++ b/build_settings.cmake @@ -17,7 +17,7 @@ set(RUN_BENCHMARKS FALSE CACHE BOOL "If TRUE, benchmarks are run together with t set(AUTORUN_UNIT_TESTS FALSE CACHE BOOL "If TRUE, tests will be run immediately after linking the test executable") # Warnings -set(WARN_OPTS "-Winline -Wuninitialized -Werror -Wall -W -Wchar-subscripts -Wcomment -Wformat -Wparentheses -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings") +set(WARN_OPTS "-Wsuggest-override -Winline -Wuninitialized -Werror -Wall -W -Wchar-subscripts -Wcomment -Wformat -Wparentheses -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings") # C and C++ compiler flags set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O3 ${WARN_OPTS} -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -DBOOST_DISABLE_ASSERTS -march=westmere -mtune=intel ${EXTRA_C_FLAGS}") |