From ba4a3c010fc08ed4f8de762ffa4d588aa837a22f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 10 Jul 2023 08:49:44 -0500 Subject: [PATCH] Silence Apple clang warnings. --- doc/src/history.adoc | 6 ++++++ src/engine/build.sh | 4 ++-- src/engine/patchlevel.h | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/src/history.adoc b/doc/src/history.adoc index 64fbde5aeb..cc3b54da17 100644 --- a/doc/src/history.adoc +++ b/doc/src/history.adoc @@ -1,6 +1,12 @@ [[b2.history]] = History +== Version 4.10.1 + +* Silence warnings for using standard deprecated functions by Apple clang + toolset in b2 build. + -- _René Ferdinand Rivera Morell_ + == Version 4.10.0 This release contains many bug fixes but along the way also cleanup and diff --git a/src/engine/build.sh b/src/engine/build.sh index 2451c91a4a..b2036f45d8 100755 --- a/src/engine/build.sh +++ b/src/engine/build.sh @@ -389,8 +389,8 @@ case "${B2_TOOLSET}" in clang|clang-*) CXX_VERSION_OPT=${CXX_VERSION_OPT:---version} - B2_CXXFLAGS_RELEASE="-O3 -s" - B2_CXXFLAGS_DEBUG="-O0 -fno-inline -g" + B2_CXXFLAGS_RELEASE="-O3 -s -Wno-deprecated-declarations" + B2_CXXFLAGS_DEBUG="-O0 -fno-inline -g -Wno-deprecated-declarations" ;; tru64cxx) diff --git a/src/engine/patchlevel.h b/src/engine/patchlevel.h index 23a2fb6aa6..df24294f5c 100644 --- a/src/engine/patchlevel.h +++ b/src/engine/patchlevel.h @@ -13,4 +13,4 @@ Distributed under the Boost Software License, Version 1.0. #define VERSION_MAJOR 4 #define VERSION_MINOR 10 -#define VERSION_PATCH 0 +#define VERSION_PATCH 1