]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix
authorMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 26 Feb 2013 14:43:26 +0000 (14:43 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Tue, 26 Feb 2013 14:43:26 +0000 (14:43 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28575 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/config/CMakeLists.txt
deal.II/cmake/setup_compiler_flags_gnu.cmake

index 6206c9be6709b124a03da30ee5ae8634ff08b92f..8233cac8dcae5a9adf1efd4e6213217dc3d113c9 100644 (file)
@@ -47,7 +47,7 @@ INSTALL(FILES
 # Strip -Wno-deprecated from CMAKE_CXX_FLAGS so that deprecation warnings
 # are actually shown for user code:
 #
-STRIP_FLAG(CMAKE_CXX_FLAGS "-Wno-deprecated")
+STRIP_FLAG(CMAKE_CXX_FLAGS "-Wno-deprecated-declarations")
 
 #
 # Populate a bunch of CONFIG_* variables with useful information:
index 46acf22b37ddc091534c51831ae6973d9b7c7038..9efc7865d5176ada7f8fa37bf09188180f68e1b6 100644 (file)
@@ -76,7 +76,7 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-unused-local-typedefs")
 #
 # Disable deprecation warnings
 #
-ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-deprecated")
+ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-deprecated-declarations")
 
 
 IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")

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.