Skip to content

Commit

Permalink
Removed the -fcf-protection gcc workaround
Browse files Browse the repository at this point in the history
Required because of
boostorg/context#263
  • Loading branch information
anarthal authored Jan 3, 2025
1 parent 41597b7 commit 94e3d4c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,7 @@ alias common_test_sources

# Boost.Context causes failures with warnings-as-errors
# under libc++, because it builds objects that raise a -stdlib=libc++ unused warning
alias boost_context_lib
:
/boost/context//boost_context/<warnings-as-errors>off
: usage-requirements
# gcc-13+ seem to enable CET by default, which causes warnings with Boost.Context.
# Disable CET until https://github.com/boostorg/context/issues/263 gets fixed
<toolset>gcc-13:<cxxflags>-fcf-protection=none
<toolset>gcc-14:<cxxflags>-fcf-protection=none
;
alias boost_context_lib : /boost/context//boost_context/<warnings-as-errors>off ;

# Beast and JSON depend on Container, which causes trouble with <warnings-as-errors>on
alias boost_beast_lib : /boost/beast//boost_beast/<warnings-as-errors>off ;
Expand Down

0 comments on commit 94e3d4c

Please sign in to comment.