Do not make explicit #warnings fatal in Travis CI builds

Don't give errors for the intentional warnings from #warning directives.
This commit is contained in:
Vadim Zeitlin
2020-07-06 12:52:01 +02:00
parent 31a1779a86
commit 20e385e7bb

View File

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