]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid one more warning with ICC.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 27 Feb 2014 20:18:41 +0000 (20:18 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 27 Feb 2014 20:18:41 +0000 (20:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@32573 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_intel.cmake

index 173d15961214e4a19d3fe7d0fd1449e28452cb23..19dc9ad539a755b9abe99e32d34ecd998b305461 100644 (file)
@@ -71,6 +71,15 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-w2")
 #             friend struct Implementation;
 #           };)
 #   -w177  declared but not referenced
+#   -w193  zero used for undefined preprocessing identifier "..."
+#          This happens when using undefined preprocessor names in
+#          conditions such as
+#            #if (abc && def)
+#          instead of
+#            #if (defined(abc) && defined(def))
+#          The standard says that in such cases, the undefined symbol
+#          is assumed to be zero. The warning is in principle
+#          useful, but the pattern appears exceedingly often in the TBB
 #   -w279  controlling expression is constant
 #   -w327  NULL reference is not allowed
 #          (the compiler is correct here in that statements like
@@ -91,6 +100,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 "-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")

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.