Add -Wno-stringop-overflow for g++
g++ 13.x is confused by the reinterpret_cast in Kakoune's memory.hh allocator. Use -Wno-stringop-overflow to silence a large number of verbose false alarms.
This commit is contained in:
parent
a90d1d33f7
commit
ee8c74c724
|
@ -87,7 +87,7 @@ compiler := $(shell $(CXX) --version)
|
||||||
ifneq (,$(findstring clang,$(compiler)))
|
ifneq (,$(findstring clang,$(compiler)))
|
||||||
CXXFLAGS += -frelaxed-template-template-args -Wno-ambiguous-reversed-operator
|
CXXFLAGS += -frelaxed-template-template-args -Wno-ambiguous-reversed-operator
|
||||||
else ifneq (,$(findstring g++,$(compiler)))
|
else ifneq (,$(findstring g++,$(compiler)))
|
||||||
CXXFLAGS += -Wno-init-list-lifetime
|
CXXFLAGS += -Wno-init-list-lifetime -Wno-stringop-overflow
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all : kak
|
all : kak
|
||||||
|
|
Loading…
Reference in New Issue
Block a user