Skip to content

Commit e87f153

Browse files
committed
clang fails with unknown warnings; only disable array-bounds.
gcc ignores attempts to disable unknown warnings.
1 parent 526e9b0 commit e87f153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ TARGET := ../beebasm
3434

3535
# Define compiler switches
3636

37-
WARNFLAGS := -Wall -W -Wcast-qual -Werror -Wshadow -Wcast-align -Wold-style-cast -Woverloaded-virtual -Wno-array-bounds -Wno-stringop-overflow -Wno-use-after-free
37+
WARNFLAGS := -Wall -W -Wcast-qual -Werror -Wshadow -Wcast-align -Wold-style-cast -Woverloaded-virtual -Wno-array-bounds
3838
CXXFLAGS := -O3 -pedantic -DNDEBUG $(WARNFLAGS)
3939

4040
# Define linker switches

0 commit comments

Comments
 (0)