]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Ignore spurious w2651 ICC warning
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 19 Jul 2018 23:56:33 +0000 (01:56 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 19 Jul 2018 23:59:23 +0000 (01:59 +0200)
cmake/setup_compiler_flags_intel.cmake

index 0e0e01c8984eb6ac03d52b56ffa90fd84439bf51..67166ea223eabed40379b78c99fc359a165614ee 100644 (file)
@@ -104,6 +104,8 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-diag-disable=remark")
 #   -w2259  non-pointer conversion from "double" to "float" may
 #           lose significant bits
 #   -w2536  type qualifiers are meaningless here
+#   -w2651  attribute does not apply to any entity
+#           spurious for [[deprecated]]
 #   -w3415  the "always_inline" attribute is ignored on non-inline functions
 #           incorrectly triggered by inline functions in tensor.h
 #   -w15531 A portion of SIMD loop is serialized
@@ -124,6 +126,7 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd1478")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd1572")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd2259")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd2536")
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd2651")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd3415")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd15531")
 

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.