Skip to content

Commit

Permalink
Fix problems with warnings in dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Nov 2, 2024
1 parent ad08b0b commit a044e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions example/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

import os ;

project : requirements <library>/boost/mysql//boost_mysql ;

path-constant this_dir : . ;

# The hostname to use for examples
Expand Down
5 changes: 2 additions & 3 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import ac ;
import indirect ;
import config : requires ;

project : requirements <library>/boost/mysql//boost_mysql ;

# Support header-only builds
feature.feature boost.mysql.separate-compilation : on off : propagated composite ;

Expand Down Expand Up @@ -67,6 +65,7 @@ local requirements =
<toolset>msvc:<define>_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING
<toolset>msvc:<define>_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING
<toolset>msvc:<define>_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS # Required by Asio
# gcc-13+ doesn't understand view types and issues array bound warnings that don't make sense.
# -Wno-implicit-fallthrough is required by Asio SSL components
<toolset>gcc:<cxxflags>"-Wno-dangling-reference -Wno-array-bounds -Wno-implicit-fallthrough"
Expand All @@ -90,7 +89,7 @@ local requirements =

alias boost_mysql
:
/boost/charconv//boost_charconv
$(boost_dependencies)/<warnings-as-errors>off
/openssl//ssl/<link>shared
/openssl//crypto/<link>shared
: requirements
Expand Down

0 comments on commit a044e96

Please sign in to comment.