mirror of
https://github.com/mawww/kakoune.git
synced 2024-09-11 13:00:41 +03:00
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)))
|
||||
CXXFLAGS += -frelaxed-template-template-args -Wno-ambiguous-reversed-operator
|
||||
else ifneq (,$(findstring g++,$(compiler)))
|
||||
CXXFLAGS += -Wno-init-list-lifetime
|
||||
CXXFLAGS += -Wno-init-list-lifetime -Wno-stringop-overflow
|
||||
endif
|
||||
|
||||
all : kak
|
||||
|
Loading…
Reference in New Issue
Block a user