Skip to content

Commit

Permalink
Disable warnings-as-errors=on in serialization.cpp for MSVC as well
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Mar 23, 2024
1 parent fad199e commit 8f3b04a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

import testing ;

local WERROR = <toolset>msvc:<warnings-as-errors>on <toolset>clang:<warnings-as-errors>on <toolset>gcc:<warnings-as-errors>on ;

project : requirements
<warnings>extra
<toolset>msvc:<warnings-as-errors>on
<toolset>clang:<warnings-as-errors>on
<toolset>gcc:<warnings-as-errors>on
$(WERROR)
<toolset>clang:<cxxflags>"-Wno-unused-private-field" ;

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

local JSON = <library>/boost//json/<warnings>off "<toolset>msvc-14.2:<cxxflags>-wd5104" ;
local SERIALIZATION = <library>/boost//serialization/<warnings>off "-<toolset>gcc:<warnings-as-errors>on" "-<toolset>clang:<warnings-as-errors>on" ;
local SERIALIZATION = <library>/boost//serialization/<warnings>off -$(WERROR) ;

run ../example/printing_enums_ct.cpp : : : $(CXX14) ;
run ../example/printing_enums_rt.cpp : : : $(CXX14) ;
Expand Down

0 comments on commit 8f3b04a

Please sign in to comment.