Skip to content

Commit 229094d

Browse files
committed
disable specific warning as error
1 parent 3bcd23f commit 229094d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

config/rel.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ this_cxxflags += -O3
88
# Thus, suppress this warning.
99
this_cxxflags += -Wno-ignored-optimization-argument
1010

11+
# WORKAROUND: GCC 16 fails with:
12+
# include/c++/16.2.0/bits/stl_algobase.h:424:32: error: 'void* __builtin_memmove(void*, const void*, long long unsigned int)' reading between 2 and 9223372036854775807 bytes from a region of size 0 [-Werror=stringop-overread]
13+
# Which seems like a problem in GCC, so disable the error for now.
14+
this_cxxflags += -Wno-error=stringop-overread
15+
1116
ifeq ($(os),macosx)
1217
# WORKAROUND:
1318
# clang-tidy on macos doesn't use /usr/local/include as default place to

0 commit comments

Comments
 (0)