]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add compiler flag -Wsuggest-override 6559/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 9 May 2018 18:19:45 +0000 (20:19 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 9 May 2018 20:10:41 +0000 (22:10 +0200)
cmake/setup_compiler_flags_gnu.cmake

index 9cae2c93cea37c7d55fda8dd123f923bcf21a722..232b15f57a8852ff35b6802906f34c30df6f09fa 100644 (file)
@@ -62,6 +62,7 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wsynth")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wsign-compare")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wswitch")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Woverloaded-virtual")
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wsuggest-override")
 
 #
 # Disable Wplacement-new that will trigger a lot of warnings

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.