actually enable warnings on travis and fix command line warnings
This commit is contained in:
parent
5bad1f82c1
commit
466c8c59a0
|
@ -46,15 +46,15 @@ install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd test
|
- cd test
|
||||||
- bjam --hash -j3 variant=$variant warnings=off -l900 $CC
|
- bjam --hash -j3 variant=$variant -l900 $CC
|
||||||
- cd ../examples
|
- cd ../examples
|
||||||
- bjam --hash -j3 variant=$variant warnings=off $CC
|
- bjam --hash -j3 variant=$variant $CC
|
||||||
- cd ../bindings/python
|
- cd ../bindings/python
|
||||||
- bjam --hash -j3 variant=$variant warnings=off $CC stage_module
|
- bjam --hash -j3 variant=$variant $CC stage_module
|
||||||
- LD_LIBRARY_PATH=. python test.py
|
- LD_LIBRARY_PATH=. python test.py
|
||||||
- if [ $sim ]; then
|
- if [ $sim ]; then
|
||||||
cd ../../simulation;
|
cd ../../simulation;
|
||||||
bjam --hash -j3 crypto=built-in warnings=off $CC;
|
bjam --hash -j3 crypto=built-in $CC;
|
||||||
fi
|
fi
|
||||||
- ccache --show-stats
|
- ccache --show-stats
|
||||||
|
|
||||||
|
|
6
Jamfile
6
Jamfile
|
@ -268,10 +268,10 @@ rule warnings ( properties * )
|
||||||
{
|
{
|
||||||
result += <cflags>-Weverything ;
|
result += <cflags>-Weverything ;
|
||||||
result += <cflags>-Wno-documentation ;
|
result += <cflags>-Wno-documentation ;
|
||||||
result += <cflags>-Wno-c++98-compat-pedantic ;
|
result += <cxxflags>-Wno-c++98-compat-pedantic ;
|
||||||
result += <cflags>-Wno-padded ;
|
result += <cflags>-Wno-padded ;
|
||||||
result += <cflags>-Wno-global-constructors ;
|
result += <cflags>-Wno-global-constructors ;
|
||||||
result += <cflags>-Wno-c++98-compat ;
|
result += <cxxflags>-Wno-c++98-compat ;
|
||||||
result += <cflags>-Wno-exit-time-destructors ;
|
result += <cflags>-Wno-exit-time-destructors ;
|
||||||
result += <cflags>-Wno-documentation-unknown-command ;
|
result += <cflags>-Wno-documentation-unknown-command ;
|
||||||
result += <cflags>-Wno-disabled-macro-expansion ;
|
result += <cflags>-Wno-disabled-macro-expansion ;
|
||||||
|
@ -295,7 +295,7 @@ rule warnings ( properties * )
|
||||||
# result += <cflags>-Wmisleading-indentation ;
|
# result += <cflags>-Wmisleading-indentation ;
|
||||||
result += <cflags>-Wparentheses ;
|
result += <cflags>-Wparentheses ;
|
||||||
result += <cflags>-Wvla ;
|
result += <cflags>-Wvla ;
|
||||||
result += <cflags>-Wc++11-compat ;
|
result += <cxxflags>-Wc++11-compat ;
|
||||||
|
|
||||||
result += <cflags>-Wno-format-zero-length ;
|
result += <cflags>-Wno-format-zero-length ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue