]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Silence some warnings
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 31 Dec 2012 11:12:46 +0000 (11:12 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 31 Dec 2012 11:12:46 +0000 (11:12 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27884 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_gnu.cmake

index 83b421d4352695ee7d26fbfa48301e3854d1fa85..4a7a402678b08f2605dc416a689f0f4ed46b590a 100644 (file)
@@ -81,10 +81,12 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
   # (that are mainly triggered in third party headers so that we cannot
   # easily fix them...)
   #
+  ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-c99-extensions")
   ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-delete-non-virtual-dtor") # not harmless but needed for boost <1.50.0
   ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-long-long")
   ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-newline-eof")
   ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-unused-function")
+  ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-unused-private-field")
   ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-unused-variable")
 ENDIF()
 

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.