From 20e385e7bbeb6e9edca556eade254fd0f469c500 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Jul 2020 12:52:01 +0200 Subject: [PATCH] Do not make explicit #warnings fatal in Travis CI builds Don't give errors for the intentional warnings from #warning directives. --- build/tools/travis-ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/travis-ci.sh b/build/tools/travis-ci.sh index 7ea4a21cd4..9b691d3fab 100755 --- a/build/tools/travis-ci.sh +++ b/build/tools/travis-ci.sh @@ -56,7 +56,7 @@ case $wxTOOLSET in ;; *) echo 'travis_fold:start:configure' - [ "$wxALLOW_WARNINGS" = 1 ] || export CXXFLAGS=-Werror + [ "$wxALLOW_WARNINGS" = 1 ] || export CXXFLAGS='-Werror -Wno-error=cpp' echo 'Configuring...' ./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$? if [ -n "$rc" ]; then