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:
|
||||
- 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
|
||||
|
||||
|
|
6
Jamfile
6
Jamfile
|
@ -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 ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue