]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disable a warning for icc that triggers a lot when compiling the bundled functionparser
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 18 Jan 2013 14:05:12 +0000 (14:05 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 18 Jan 2013 14:05:12 +0000 (14:05 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@28128 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags_intel.cmake

index 9a556ac14aa1d8ce2f7ac85ec423a99fdd734aca..52f12d9b68e4ee1d826820210a69fc273778d4a7 100644 (file)
@@ -57,11 +57,14 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-w2")
 #
 # Disable some warnings that lead to a lot of false positives:
 #
+#   -w68   integer conversion resulted in a change of sign
+#          (triggers a lot in functionparser)
 #   -w175  subscript out of range
 #   -w177  declared but not referenced
 #   -w1478 deprecation warning
 #   -w1572 floating-point equality and inequality comparisons are unreliable
 #
+ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd68")
 ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd175")
 ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-wd177")
 ENABLE_IF_SUPPORTED(CMAKE_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.