Treat warnings as errors in Travis CI builds

This will allow detecting any new warnings immediately.
This commit is contained in:
Vadim Zeitlin
2020-07-06 00:30:41 +02:00
parent 9be2c3717d
commit d2e03dec77

View File

@@ -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