]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disable another ICC warning.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Mar 2014 15:09:09 +0000 (15:09 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 5 Mar 2014 15:09:09 +0000 (15:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@32614 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_intel.cmake

index fb2063af662aa8ea50f83d9510956ef1346765be..33f19fc8fc195a01290fe733a95a944a1bb95fd7 100644 (file)
@@ -71,6 +71,10 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-w2")
 #             friend struct Implementation;
 #           };)
 #   -w177  declared but not referenced
+#   -w191  type qualifier is meaningless on cast type
+#          Warnings from this warn about code like this:
+#             static_cast<T const * const>(p)
+#          There are many places in boost that do this kind of stuff
 #   -w193  zero used for undefined preprocessing identifier "..."
 #          This happens when using undefined preprocessor names in
 #          conditions such as
@@ -101,6 +105,7 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd68")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd135")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd175")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd177")
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd191")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd193")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd279")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-wd327")

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.