]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disable warning #135 on intel compilers.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Oct 2013 11:57:31 +0000 (11:57 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Oct 2013 11:57:31 +0000 (11:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@31222 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_intel.cmake

index 912798af4768f68a4c49ce1faeb4a7138cac68af..98afb1943ba43de15c05da90bb684812a19a0a2e 100644 (file)
@@ -62,6 +62,14 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-w2")
 #   -w68   integer conversion resulted in a change of sign
 #          (triggers a lot in functionparser)
 #   -w175  subscript out of range
+#   -w135  class template "dealii::FE_Q_Base<POLY, dim, spacedim>"
+#          has no member "Implementation"
+#          (the compiler is objectively wrong since the warning
+#           triggers also on code of the form
+#           class FE_Q_Base {
+#             struct Implementation; // forward declaration
+#             friend struct Implementation;
+#           };)
 #   -w177  declared but not referenced
 #   -w279  controlling expression is constant
 #   -w327  NULL reference is not allowed
@@ -78,6 +86,7 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-w2")
 #   -w2536 type qualifiers are meaningless here
 #
 ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd68")
+ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd135")
 ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd175")
 ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd177")
 ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd279")

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.