From ee8c74c72444dbb53252163d9785e456e88d8965 Mon Sep 17 00:00:00 2001 From: Chris Webb Date: Sun, 10 Dec 2023 10:26:37 +0000 Subject: [PATCH] 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. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 801a2e24..bb0f32e6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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