Skip to content

Commit

Permalink
Silence Apple clang warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Jul 10, 2023
1 parent c1dfb66 commit ba4a3c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions doc/src/history.adoc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/engine/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/engine/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ba4a3c0

Please sign in to comment.