From d2e03dec77e6124a5e4e29c587a65bdbd35ff0a7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Jul 2020 00:30:41 +0200 Subject: [PATCH] Treat warnings as errors in Travis CI builds This will allow detecting any new warnings immediately. --- build/tools/travis-ci.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/tools/travis-ci.sh b/build/tools/travis-ci.sh index c618b08bbb..4196115770 100755 --- a/build/tools/travis-ci.sh +++ b/build/tools/travis-ci.sh @@ -56,6 +56,7 @@ case $wxTOOLSET in ;; *) echo 'travis_fold:start:configure' + export CXXFLAGS=-Werror echo 'Configuring...' ./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$? if [ -n "$rc" ]; then