From 526e9b0e784a06c9741c38d87b53cb0695810afa Mon Sep 17 00:00:00 2001 From: Charles Reilly Date: Tue, 10 Sep 2024 16:57:17 +0100 Subject: [PATCH] Disable bogus gcc warnings --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index b242d8e..f4c80a1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -34,7 +34,7 @@ TARGET := ../beebasm # Define compiler switches -WARNFLAGS := -Wall -W -Wcast-qual -Werror -Wshadow -Wcast-align -Wold-style-cast -Woverloaded-virtual +WARNFLAGS := -Wall -W -Wcast-qual -Werror -Wshadow -Wcast-align -Wold-style-cast -Woverloaded-virtual -Wno-array-bounds -Wno-stringop-overflow -Wno-use-after-free CXXFLAGS := -O3 -pedantic -DNDEBUG $(WARNFLAGS) # Define linker switches