actually enable warnings on travis and fix command line warnings

This commit is contained in:
arvidn 2015-08-21 00:26:11 +02:00
parent 5bad1f82c1
commit 466c8c59a0
2 changed files with 7 additions and 7 deletions

View File

@ -46,15 +46,15 @@ install:
script:
- cd test
- bjam --hash -j3 variant=$variant warnings=off -l900 $CC
- bjam --hash -j3 variant=$variant -l900 $CC
- cd ../examples
- bjam --hash -j3 variant=$variant warnings=off $CC
- bjam --hash -j3 variant=$variant $CC
- 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
- if [ $sim ]; then
cd ../../simulation;
bjam --hash -j3 crypto=built-in warnings=off $CC;
bjam --hash -j3 crypto=built-in $CC;
fi
- ccache --show-stats

View File

@ -268,10 +268,10 @@ rule warnings ( properties * )
{
result += <cflags>-Weverything ;
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-global-constructors ;
result += <cflags>-Wno-c++98-compat ;
result += <cxxflags>-Wno-c++98-compat ;
result += <cflags>-Wno-exit-time-destructors ;
result += <cflags>-Wno-documentation-unknown-command ;
result += <cflags>-Wno-disabled-macro-expansion ;
@ -295,7 +295,7 @@ rule warnings ( properties * )
# result += <cflags>-Wmisleading-indentation ;
result += <cflags>-Wparentheses ;
result += <cflags>-Wvla ;
result += <cflags>-Wc++11-compat ;
result += <cxxflags>-Wc++11-compat ;
result += <cflags>-Wno-format-zero-length ;