]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add -Wno-deprecated for compiling internal stuff
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 12:04:51 +0000 (12:04 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 7 Mar 2013 12:04:51 +0000 (12:04 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28782 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 02fc4adc995849124ac434c669aff99a4d01057c..a7b65eaa7d0887d8d6414e355d6e80f71445362f 100644 (file)
@@ -47,6 +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")
 
 #
index c41b2400e61bc12ff477bbbc34eeb108638b9990..23c3cd396df6606a6091e4e8106e107c16ff1a44 100644 (file)
@@ -83,6 +83,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")
 
 

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.