From: bangerth Date: Mon, 14 Oct 2013 11:57:31 +0000 (+0000) Subject: Disable warning #135 on intel compilers. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d92d823ba98c599a338e825eefd86c1a9cac5c6e;p=dealii-svn.git Disable warning #135 on intel compilers. git-svn-id: https://svn.dealii.org/trunk@31222 0785d39b-7218-0410-832d-ea1e28bc413d --- 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")