aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2020-11-01 09:52:49 -0800
committerMarco Poletti <poletti.marco@gmail.com>2020-11-01 09:52:49 -0800
commit70f7c06e305ad7c9e4e99b87672aaa1061d914d6 (patch)
tree705787c68914cf9d6a5122d0ebacc095ef45d963
parent39d127dee2fe8d579d778667424cfbb89044875d (diff)
downloadgoogle-fruit-70f7c06e305ad7c9e4e99b87672aaa1061d914d6.tar.gz
Also pass -Wno-unknown-warning-option in CI tests because only very recent versions of Clang have -Wno-dtor-name, otherwise the CI tests fail with older Clang versions.
-rwxr-xr-xextras/scripts/postsubmit-helper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/scripts/postsubmit-helper.sh b/extras/scripts/postsubmit-helper.sh
index ca0aaba..eecd3c0 100755
--- a/extras/scripts/postsubmit-helper.sh
+++ b/extras/scripts/postsubmit-helper.sh
@@ -130,7 +130,7 @@ then
BOOST_INCLUDE_FLAG="-I /usr/local/include/boost -I /usr/local/include"
# -Wdtor-name (part of -pedantic) is *very* pedantic. Following that results in weird-looking code.
# See https://bugs.llvm.org/show_bug.cgi?id=46979.
- COMMON_CXX_FLAGS="$STLARG $BOOST_INCLUDE_FLAG -Werror -pedantic -Wno-dtor-name -Winvalid-pch"
+ COMMON_CXX_FLAGS="$STLARG $BOOST_INCLUDE_FLAG -Werror -pedantic -Wno-unknown-warning-option -Wno-dtor-name -Winvalid-pch"
echo CXX version: $($CXX --version)
echo C++ Standard library location: $(echo '#include <vector>' | $CXX -x c++ -E - | grep 'vector\"' | awk '{print $3}' | sed 's@/vector@@;s@\"@@g' | head -n 1)