From e87f15393e4241f754f0f1d2fbd2ecd3d540e25a Mon Sep 17 00:00:00 2001 From: Charles Reilly Date: Tue, 10 Sep 2024 17:04:53 +0100 Subject: [PATCH] clang fails with unknown warnings; only disable array-bounds. gcc ignores attempts to disable unknown warnings. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index f4c80a1..7177bc6 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 -Wno-array-bounds -Wno-stringop-overflow -Wno-use-after-free +WARNFLAGS := -Wall -W -Wcast-qual -Werror -Wshadow -Wcast-align -Wold-style-cast -Woverloaded-virtual -Wno-array-bounds CXXFLAGS := -O3 -pedantic -DNDEBUG $(WARNFLAGS) # Define linker switches