forked from boostorg/smart_ptr
Compile sp_pedantic_test.cpp with -Wundef
This commit is contained in:
@ -375,11 +375,16 @@ compile-fail shared_from_fail.cpp ;
|
|||||||
compile-fail weak_from_fail.cpp ;
|
compile-fail weak_from_fail.cpp ;
|
||||||
|
|
||||||
compile sp_override_test.cpp ;
|
compile sp_override_test.cpp ;
|
||||||
|
|
||||||
|
local gcc-flags = -Wundef ;
|
||||||
|
|
||||||
compile sp_pedantic_test.cpp
|
compile sp_pedantic_test.cpp
|
||||||
: <warnings>pedantic
|
: <warnings>pedantic
|
||||||
<toolset>msvc:<warnings-as-errors>on
|
<toolset>msvc:<warnings-as-errors>on
|
||||||
<toolset>gcc:<warnings-as-errors>on
|
<toolset>gcc:<warnings-as-errors>on
|
||||||
|
<toolset>gcc:<cxxflags>$(gcc-flags)
|
||||||
<toolset>clang:<warnings-as-errors>on
|
<toolset>clang:<warnings-as-errors>on
|
||||||
|
<toolset>clang:<cxxflags>$(gcc-flags)
|
||||||
<toolset>clang-15:<cxxflags>-Wno-deprecated-builtins
|
<toolset>clang-15:<cxxflags>-Wno-deprecated-builtins
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user