1
0
forked from boostorg/bind

Enable -Wundef for Clang

This commit is contained in:
Peter Dimov
2024-01-07 02:02:57 +02:00
parent a4b8f2b6a0
commit dae3bc7e89

View File

@@ -10,7 +10,6 @@
import testing ; import testing ;
local gcc-flags = -Wundef ; local gcc-flags = -Wundef ;
local clang-flags = ; # $(gcc-flags) ;
project project
: default-build : default-build
@@ -20,12 +19,11 @@ project
: requirements : requirements
<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>$(clang-flags)
<toolset>gcc:<cxxflags>$(gcc-flags)
<toolset>clang:<cxxflags>$(gcc-flags)
; ;
# quick test (for CI) # quick test (for CI)