aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-07-07 08:32:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-07-07 08:32:05 +0200
commite636d8c3965cee0d0621da0696aa897049f5b269 (patch)
tree6667fe615375d5a9df0ff446ee025e4a2a2f0d7e
parentac12de7e0343efdac0d0aa42e982b1b84dbd6124 (diff)
Disable GCC -Wstringop-overread (false positives in GCC 11, bug 101361)
-rw-r--r--build/root.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/root.build b/build/root.build
index e30b489..4925c19 100644
--- a/build/root.build
+++ b/build/root.build
@@ -22,7 +22,8 @@ if ($cxx.target.system == 'win32-msvc')
if ($cxx.class == 'msvc')
cxx.coptions += /wd4251 /wd4275 /wd4800 /wd4819
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
cxx.poptions =+ "-I$out_root" "-I$src_root"