aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-07-08 08:21:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-07-08 08:21:21 +0200
commit6e9d2cdc729e49ba8f082f58d4364fe0157d1603 (patch)
tree3962186f22ed25feba67b8bcbe43b0a03f893853
parentc4c21166951b6da7418f85408ea1bfd11e662ebb (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 de83d12..a1e935c 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
+ cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object \
+-Wno-stringop-overread
# Every exe{} in this subproject is by default a test.
#