]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bundled: avoid warnings in bundled boost
authorMatthias Maier <tamiko@43-1.org>
Thu, 22 Jun 2023 02:51:59 +0000 (21:51 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 22 Jun 2023 14:52:38 +0000 (09:52 -0500)
set -Wno-deprecated-builtins and -Wno-deprecated-declarations

bundled/boost-1.70.0/libs/iostreams/src/CMakeLists.txt
bundled/boost-1.70.0/libs/serialization/src/CMakeLists.txt

index 3503f905a1f47daaa1e554f2050c5a2867b80585..27b6148bf7bdc96b73fe75f5f6f5965b60ec8040 100644 (file)
@@ -23,6 +23,8 @@ set(src_boost_iostreams
 enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-c11-extensions)
 enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-deprecated-copy)
 enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-uninitialized)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-deprecated-builtins)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-deprecated-declarations)
 
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../include)
 define_object_library(bundled_boost_iostreams OBJECT ${src_boost_iostreams})
index 7807cf8f00f2e7f48615ef7123c8023008472e02..68ce67861bf309bdb43d41b9ae2c9be5fa10e41e 100644 (file)
@@ -57,6 +57,8 @@ set(src_boost_serialization
 enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-c11-extensions)
 enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-deprecated-copy)
 enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-uninitialized)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-deprecated-builtins)
+enable_if_supported(DEAL_II_WARNING_FLAGS -Wno-deprecated-declarations)
 
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../include)
 define_object_library(bundled_boost_serialization OBJECT ${src_boost_serialization})

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.