From 8f6c2ae0f56502c2f69f15879cab872df2c87d18 Mon Sep 17 00:00:00 2001 From: maier Date: Fri, 18 Jan 2013 14:05:12 +0000 Subject: [PATCH] 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 --- deal.II/cmake/setup_compiler_flags_intel.cmake | 3 +++ 1 file changed, 3 insertions(+) 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") -- 2.39.5