Skip to content

Commit

Permalink
Suppress warnings caused by Boost.Context
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Jan 24, 2025
1 parent 0a2b5b1 commit e0edbdb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion example/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ run_example deletes : 2_simple/deletes.cpp
run_example callbacks : 2_simple/callbacks.cpp
: $(regular_args) ;
run_example coroutines_cpp11 : 2_simple/coroutines_cpp11.cpp /boost/mysql/test//boost_context_lib
: $(regular_args) ;
: $(regular_args) : :
# TODO: remove when https://github.com/boostorg/context/issues/284 is fixed
<warnings-as-errors>off
;
run_example batch_inserts : 2_simple/batch_inserts.cpp /boost/mysql/test//boost_json_lib
: $(hostname) : run_batch_inserts.py ;
run_example batch_inserts_generic : 2_simple/batch_inserts_generic.cpp /boost/mysql/test//boost_json_lib
Expand Down Expand Up @@ -119,4 +122,6 @@ run_example connection_pool :
# Uses heavily Boost.Context coroutines, which aren't fully supported by asan
<address-sanitizer>norecover:<build>no
<address-sanitizer>enable:<build>no
# TODO: remove when https://github.com/boostorg/context/issues/284 is fixed
<warnings-as-errors>off
;

0 comments on commit e0edbdb

Please sign in to comment.