Skip to content

Commit 8f3b04a

Browse files
committed
Disable warnings-as-errors=on in serialization.cpp for MSVC as well
1 parent fad199e commit 8f3b04a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Jamfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
import testing ;
66

7+
local WERROR = <toolset>msvc:<warnings-as-errors>on <toolset>clang:<warnings-as-errors>on <toolset>gcc:<warnings-as-errors>on ;
8+
79
project : requirements
810
<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)
1212
<toolset>clang:<cxxflags>"-Wno-unused-private-field" ;
1313

1414
run quick.cpp ;
@@ -88,7 +88,7 @@ explicit describe_cxx14 ;
8888
local CXX14 = [ check-target-builds describe_cxx14 describe_cxx14 : : <build>no ] "<toolset>msvc-14.0:<cxxflags>-wd4100" ;
8989

9090
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) ;
9292

9393
run ../example/printing_enums_ct.cpp : : : $(CXX14) ;
9494
run ../example/printing_enums_rt.cpp : : : $(CXX14) ;

0 commit comments

Comments
 (0)