From: maier Date: Wed, 23 Apr 2014 08:18:10 +0000 (+0000) Subject: CMake: Silence warning w654 with icc: "overloaded virtual function is only partially... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a498755acaaad1b21a0b3217b37ecf78aab0914;p=dealii-svn.git CMake: Silence warning w654 with icc: "overloaded virtual function is only partially overriden" - I assume this is intended... git-svn-id: https://svn.dealii.org/trunk@32812 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 33f19fc8fc..6008630e1e 100644 --- a/deal.II/cmake/setup_compiler_flags_intel.cmake +++ b/deal.II/cmake/setup_compiler_flags_intel.cmake @@ -91,6 +91,7 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-w2") # references; however, it's the only useful way to do # so if you need an invalid value for a reference) # -w383 value copied to temporary, reference to temporary used +# -w654 overloaded virtual function is only partially overriden # -w981 operands are evaluated in unspecified order # -w1418 external function definition with no prior declaration # (happens in boost) @@ -110,6 +111,7 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd193") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd279") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd327") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd383") +ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd654") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd981") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd1418") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd1478")