From: maier Date: Fri, 18 Jan 2013 14:05:12 +0000 (+0000) Subject: Disable a warning for icc that triggers a lot when compiling the bundled functionparser X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f6c2ae0f56502c2f69f15879cab872df2c87d18;p=dealii-svn.git Disable a warning for icc that triggers a lot when compiling the bundled functionparser git-svn-id: https://svn.dealii.org/branches/branch_cmake@28128 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/setup_compiler_flags_intel.cmake b/deal.II/cmake/setup_compiler_flags_intel.cmake index 9a556ac14a..52f12d9b68 100644 --- a/deal.II/cmake/setup_compiler_flags_intel.cmake +++ b/deal.II/cmake/setup_compiler_flags_intel.cmake @@ -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")