From 6e9d2cdc729e49ba8f082f58d4364fe0157d1603 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 8 Jul 2021 08:21:21 +0200 Subject: Also disable GCC -Wstringop-overread in tests --- tests/build/root.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. # -- cgit v1.1