Add warnings-as-errors=on to .yml files

This commit is contained in:
Peter Dimov
2019-02-19 00:47:34 +02:00
parent 28615311d9
commit c6f6c45bb8
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ install:
script:
- |-
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
- ./b2 -j3 libs/endian/test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release ${UBSAN:+cxxflags=-fsanitize=undefined cxxflags=-fno-sanitize-recover=undefined linkflags=-fsanitize=undefined debug-symbols=on} ${LINKFLAGS:+linkflags=$LINKFLAGS}
- ./b2 -j3 libs/endian/test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release warnings=all warnings-as-errors=on ${UBSAN:+cxxflags=-fsanitize=undefined cxxflags=-fno-sanitize-recover=undefined linkflags=-fsanitize=undefined debug-symbols=on} ${LINKFLAGS:+linkflags=$LINKFLAGS}
notifications:
email:

View File

@ -51,4 +51,4 @@ build: off
test_script:
- PATH=%ADDPATH%%PATH%
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
- b2 -j3 libs/endian/test toolset=%TOOLSET% %CXXSTD%
- b2 -j3 libs/endian/test toolset=%TOOLSET% %CXXSTD% variant=debug,release warnings=all warnings-as-errors=on