From e636d8c3965cee0d0621da0696aa897049f5b269 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Jul 2021 08:32:05 +0200 Subject: Disable GCC -Wstringop-overread (false positives in GCC 11, bug 101361) --- build/root.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build/root.build') 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" -- cgit v1.1