Skip to content

Commit

Permalink
Enable a few warnings, hopefully they won't trigger GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Apr 5, 2024
1 parent a39445e commit 514e27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ endif

# These must come before the -Wno- flags
WARNINGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option -Wno-missing-braces
WARNINGS += -Wno-nonnull -Wno-unused-result -Wno-multichar -Wno-int-in-bool-context -Wno-format-truncation
WARNINGS += -Wno-nonnull -Wno-multichar -Wno-int-in-bool-context

# Only add this flag if the compiler supports it
ifeq ($(shell $(CC) -x c -c $(NULL) -o $(NULL) -Werror -Wpartial-availability 2> $(NULL); echo $$?),0)
Expand Down

0 comments on commit 514e27d

Please sign in to comment.