]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't use float-conversion in bundled packages 7517/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 9 Dec 2018 02:05:33 +0000 (03:05 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 9 Dec 2018 11:14:02 +0000 (12:14 +0100)
bundled/umfpack/AMD/Source/CMakeLists.txt
bundled/umfpack/UMFPACK/Source/CMakeLists.txt

index 28f20648fb4c153fbbd0ea65371ef16d2f74d781..85682257f0fc6d5e1c8f3f1dd0422894de75dea4 100644 (file)
@@ -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
index 82ee021d27290caea77b9457e21e620e74f6c5b2..52726294cd4ec71c57d764e80156e623d4ac049d 100644 (file)
@@ -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")
 

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.