From cd32cb5ddb23c180422f11e8b078f5d22d480167 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 14 Oct 2013 11:57:31 +0000 Subject: [PATCH] Disable warning #135 on intel compilers. git-svn-id: https://svn.dealii.org/trunk@31222 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/setup_compiler_flags_intel.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deal.II/cmake/setup_compiler_flags_intel.cmake b/deal.II/cmake/setup_compiler_flags_intel.cmake index 912798af47..98afb1943b 100644 --- a/deal.II/cmake/setup_compiler_flags_intel.cmake +++ b/deal.II/cmake/setup_compiler_flags_intel.cmake @@ -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" +# 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") -- 2.39.5