aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-07-08 08:21:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-07-08 08:21:53 +0200
commitcf8f4d66330399a7df8eb243a6e469df66f5f830 (patch)
tree9195f7fa5e7bcb3382c1e4bfc223af128f9138dd
parente636d8c3965cee0d0621da0696aa897049f5b269 (diff)
Also disable GCC -Wstringop-overread in tests
-rw-r--r--tests/build/root.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/build/root.build b/tests/build/root.build
index 00fa374..8f9a482 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -14,7 +14,8 @@ if ($cxx.target.system == 'win32-msvc')
if ($cxx.class == 'msvc')
cxx.coptions += /wd4251 /wd4275 /wd4800
elif ($cxx.id == 'gcc')
- cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object # libbutl
+ cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object \
+-Wno-stringop-overread # libbutl
# Setup the build system driver that we are testing (which may not be the same
# as our $build.path). We also need to disable importation using the built-in