From aca4d9063e981f5ed7861c08a34fa3dfb707cabd Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 9 Dec 2018 03:05:33 +0100 Subject: [PATCH] Don't use float-conversion in bundled packages --- bundled/umfpack/AMD/Source/CMakeLists.txt | 2 ++ bundled/umfpack/UMFPACK/Source/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/bundled/umfpack/AMD/Source/CMakeLists.txt b/bundled/umfpack/AMD/Source/CMakeLists.txt index 28f20648fb..85682257f0 100644 --- a/bundled/umfpack/AMD/Source/CMakeLists.txt +++ b/bundled/umfpack/AMD/Source/CMakeLists.txt @@ -15,6 +15,8 @@ INCLUDE_DIRECTORIES(${UMFPACK_BUNDLED_INCLUDE_DIRS}) +STRIP_FLAG(DEAL_II_CXX_FLAGS "-Wfloat-conversion") + SET(src_amd amd_1.cc amd_2.cc diff --git a/bundled/umfpack/UMFPACK/Source/CMakeLists.txt b/bundled/umfpack/UMFPACK/Source/CMakeLists.txt index 82ee021d27..52726294cd 100644 --- a/bundled/umfpack/UMFPACK/Source/CMakeLists.txt +++ b/bundled/umfpack/UMFPACK/Source/CMakeLists.txt @@ -26,6 +26,7 @@ INCLUDE_DIRECTORIES(${UMFPACK_BUNDLED_INCLUDE_DIRS}) # STRIP_FLAG(DEAL_II_CXX_FLAGS "-pedantic") STRIP_FLAG(DEAL_II_CXX_FLAGS "-Wall") +STRIP_FLAG(DEAL_II_CXX_FLAGS "-Wfloat-conversion") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-sign-compare") ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-write-strings") -- 2.39.5