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:
@@ -56,7 +56,7 @@ case $wxTOOLSET in
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo 'travis_fold:start:configure'
|
echo 'travis_fold:start:configure'
|
||||||
[ "$wxALLOW_WARNINGS" = 1 ] || export CXXFLAGS=-Werror
|
[ "$wxALLOW_WARNINGS" = 1 ] || export CXXFLAGS='-Werror -Wno-error=cpp'
|
||||||
echo 'Configuring...'
|
echo 'Configuring...'
|
||||||
./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$?
|
./configure --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$?
|
||||||
if [ -n "$rc" ]; then
|
if [ -n "$rc" ]; then
|
||||||
|
Reference in New Issue
Block a user