mirror of
https://github.com/boostorg/endian.git
synced 2025-07-31 21:14:38 +02:00
Move <warnings-as-errors>on to default-build
This commit is contained in:
@@ -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 warnings=all warnings-as-errors=on ${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 ${UBSAN:+cxxflags=-fsanitize=undefined cxxflags=-fno-sanitize-recover=undefined linkflags=-fsanitize=undefined debug-symbols=on} ${LINKFLAGS:+linkflags=$LINKFLAGS}
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
@@ -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% variant=debug,release warnings=all warnings-as-errors=on
|
||||
- b2 -j3 libs/endian/test toolset=%TOOLSET% %CXXSTD% variant=debug,release
|
||||
|
@@ -10,6 +10,8 @@
|
||||
|
||||
import testing ;
|
||||
|
||||
project : default-build <warnings>all <warnings-as-errors>on ;
|
||||
|
||||
run buffer_test.cpp ;
|
||||
run buffer_test.cpp : : : <define>BOOST_ENDIAN_NO_INTRINSICS : buffer_test_ni ;
|
||||
|
||||
|
Reference in New Issue
Block a user