From: Matthias Maier Date: Thu, 22 Jun 2023 02:51:59 +0000 (-0500) Subject: Bundled: avoid warnings in bundled boost X-Git-Tag: v9.5.0-rc1~52^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a00699d38c9a15c326c2fcd6c636e66e78dbb0f;p=dealii.git Bundled: avoid warnings in bundled boost set -Wno-deprecated-builtins and -Wno-deprecated-declarations --- diff --git a/bundled/boost-1.70.0/libs/iostreams/src/CMakeLists.txt b/bundled/boost-1.70.0/libs/iostreams/src/CMakeLists.txt index 3503f905a1..27b6148bf7 100644 --- a/bundled/boost-1.70.0/libs/iostreams/src/CMakeLists.txt +++ b/bundled/boost-1.70.0/libs/iostreams/src/CMakeLists.txt @@ -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}) diff --git a/bundled/boost-1.70.0/libs/serialization/src/CMakeLists.txt b/bundled/boost-1.70.0/libs/serialization/src/CMakeLists.txt index 7807cf8f00..68ce67861b 100644 --- a/bundled/boost-1.70.0/libs/serialization/src/CMakeLists.txt +++ b/bundled/boost-1.70.0/libs/serialization/src/CMakeLists.txt @@ -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})