forked from boostorg/bind
Enable -Wundef for Clang
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user