]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Compile with -Wno-long-long to suppress a lot of warnings when compiling in
authorMatthias Maier <tamiko@kyomu.43-1.org>
Fri, 9 Aug 2013 16:29:32 +0000 (16:29 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Fri, 9 Aug 2013 16:29:32 +0000 (16:29 +0000)
C++98 mode

git-svn-id: https://svn.dealii.org/trunk@30267 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_gnu.cmake

index 9f9152a82e17229b40e4c905d4b6042425d631ab..14884e265d70bcf72adbd2a9e4b657b0d7a20d36 100644 (file)
@@ -73,6 +73,12 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wswitch")
 #
 ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-unused-local-typedefs")
 
+#
+# Disable Wlong-long that will trigger a lot of warnings when compiling
+# with disabled C++11 support:
+#
+ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-long-long")
+
 #
 # Disable deprecation 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.