From: Daniel Arndt Date: Sun, 9 Dec 2018 02:05:33 +0000 (+0100) Subject: Don't use float-conversion in bundled packages X-Git-Tag: v9.1.0-rc1~499^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7517%2Fhead;p=dealii.git Don't use float-conversion in bundled packages --- 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")