]> https://gitweb.dealii.org/ - dealii.git/commitdiff
intel: disable const initializer warning 8845/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 24 Sep 2019 14:43:11 +0000 (10:43 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 24 Sep 2019 14:43:30 +0000 (10:43 -0400)
cmake/setup_compiler_flags_intel.cmake

index fe47b5666ed1f34fc406dd5da1289a01a1351c48..6dc45c7939c3a1d2825a0ddfd0a7bb8308efa912 100644 (file)
@@ -96,6 +96,7 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-diag-disable=remark")
 #            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
+#   -w854   const variable requires an initializer (defect 253 in http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html)
 #   -w981   operands are evaluated in unspecified order
 #   -w1418  external function definition with no prior declaration
 #           (happens in boost)
@@ -121,6 +122,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 "-wd854")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd981")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd1418")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd1478")

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.