From 466c8c59a0e968b9bcdc0c32f65cf915e936e21f Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 21 Aug 2015 00:26:11 +0200 Subject: [PATCH] actually enable warnings on travis and fix command line warnings --- .travis.yml | 8 ++++---- Jamfile | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3589bdfbc..014518cb9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Jamfile b/Jamfile index 72806c5eb..742a76009 100644 --- a/Jamfile +++ b/Jamfile @@ -268,10 +268,10 @@ rule warnings ( properties * ) { result += -Weverything ; result += -Wno-documentation ; - result += -Wno-c++98-compat-pedantic ; + result += -Wno-c++98-compat-pedantic ; result += -Wno-padded ; result += -Wno-global-constructors ; - result += -Wno-c++98-compat ; + result += -Wno-c++98-compat ; result += -Wno-exit-time-destructors ; result += -Wno-documentation-unknown-command ; result += -Wno-disabled-macro-expansion ; @@ -295,7 +295,7 @@ rule warnings ( properties * ) # result += -Wmisleading-indentation ; result += -Wparentheses ; result += -Wvla ; - result += -Wc++11-compat ; + result += -Wc++11-compat ; result += -Wno-format-zero-length ;