diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-07-07 08:32:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-07-07 08:32:05 +0200 |
commit | e636d8c3965cee0d0621da0696aa897049f5b269 (patch) | |
tree | 6667fe615375d5a9df0ff446ee025e4a2a2f0d7e /build | |
parent | ac12de7e0343efdac0d0aa42e982b1b84dbd6124 (diff) |
Disable GCC -Wstringop-overread (false positives in GCC 11, bug 101361)
Diffstat (limited to 'build')
-rw-r--r-- | build/root.build | 3 |
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" |