Skip to content

Commit

Permalink
clang fails with unknown warnings; only disable array-bounds.
Browse files Browse the repository at this point in the history
gcc ignores attempts to disable unknown warnings.
  • Loading branch information
mungre committed Sep 10, 2024
1 parent 526e9b0 commit e87f153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e87f153

Please sign in to comment.