Skip to content

Commit

Permalink
Disable warnings when building zlib for the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
cmazakas committed Jan 10, 2024
1 parent 186c5c4 commit f7980ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project boost/http_proto
$(c11-requires)
<link>shared:<define>BOOST_HTTP_PROTO_DYN_LINK=1
<link>static:<define>BOOST_HTTP_PROTO_STATIC_LINK=1
[ ac.check-library /zlib//zlib : <library>/zlib//zlib <define>BOOST_HTTP_PROTO_HAS_ZLIB <define>BOOST_HTTP_PROTO_ZLIB_SOURCE : ]
[ ac.check-library /zlib//zlib : <library>/zlib//zlib <define>BOOST_HTTP_PROTO_HAS_ZLIB <define>BOOST_HTTP_PROTO_ZLIB_SOURCE : <build>no ]
<define>BOOST_HTTP_PROTO_SOURCE
: usage-requirements
<link>shared:<define>BOOST_HTTP_PROTO_DYN_LINK=1
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ project
: requirements
$(c11-requires)
<library>/boost/http_proto//boost_http_proto
[ ac.check-library /zlib//zlib : <library>/zlib//zlib : ]
[ ac.check-library /zlib//zlib : <library>/zlib//zlib : <warnings>off ]
[ ac.check-library /boost/http_proto//boost_http_proto_zlib : <library>/boost/http_proto//boost_http_proto_zlib : ]
<source>../../../url/extra/test_main.cpp
<source>./test_helpers.cpp
Expand Down

0 comments on commit f7980ae

Please sign in to comment.