From 8bc2ff71e23a2008ee28211a1c075aca90540c15 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 6 Apr 2021 18:45:52 +0200 Subject: [PATCH] Recognize g++ as value of TRAVIS_COMPILER In macOS builds TRAVIS_COMPILER is set to g++ and not gcc, which resulted in not handling it correctly and giving a bogus warning. --- 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 7c3b085944..0186f9fcf1 100755 --- a/build/tools/travis-ci.sh +++ b/build/tools/travis-ci.sh @@ -94,7 +94,7 @@ case $wxTOOLSET in allow_warn_opt="-Wno-error=#warnings" ;; - gcc) + gcc | g++) allow_warn_opt="-Wno-error=cpp" ;;