File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import testing ;
6
6
7
+ local WERROR = <toolset>msvc:<warnings-as-errors>on <toolset>clang:<warnings-as-errors>on <toolset>gcc:<warnings-as-errors>on ;
8
+
7
9
project : requirements
8
10
<warnings>extra
9
- <toolset>msvc:<warnings-as-errors>on
10
- <toolset>clang:<warnings-as-errors>on
11
- <toolset>gcc:<warnings-as-errors>on
11
+ $(WERROR)
12
12
<toolset>clang:<cxxflags>"-Wno-unused-private-field" ;
13
13
14
14
run quick.cpp ;
@@ -88,7 +88,7 @@ explicit describe_cxx14 ;
88
88
local CXX14 = [ check-target-builds describe_cxx14 describe_cxx14 : : <build>no ] "<toolset>msvc-14.0:<cxxflags>-wd4100" ;
89
89
90
90
local JSON = <library>/boost//json/<warnings>off "<toolset>msvc-14.2:<cxxflags>-wd5104" ;
91
- local SERIALIZATION = <library>/boost//serialization/<warnings>off "-<toolset>gcc:<warnings-as-errors>on" "-<toolset>clang:<warnings-as-errors>on" ;
91
+ local SERIALIZATION = <library>/boost//serialization/<warnings>off -$(WERROR) ;
92
92
93
93
run ../example/printing_enums_ct.cpp : : : $(CXX14) ;
94
94
run ../example/printing_enums_rt.cpp : : : $(CXX14) ;
You can’t perform that action at this time.
0 commit comments