aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-28 16:47:27 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-28 16:47:27 -0400
commitd8e032d4b108d7b1c1387519b2ed7bf690543674 (patch)
treecf631895be510b7bae2e136ba4d41fa7844f6e8c
parent58f95bf36aaa797625b526f59b45687ec2048f50 (diff)
Warning flags tweak
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 83be3c89..a7e2d7f7 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ CWARN=-Wall -Wextra -Wno-format -Wshadow \
-Wno-pedantic \
-Wno-pointer-arith \
-Wtype-limits -Wunused-result -Wnull-dereference \
- -Walloca -Wcast-align -Wcast-align=strict \
+ -Walloca -Wcast-align \
-Wdangling-else -Wdate-time -Wdisabled-optimization -Wdouble-promotion \
-Wexpansion-to-defined -Wno-float-equal \
-Wframe-address -Winline -Winvalid-pch \
@@ -28,7 +28,7 @@ ifeq ($(shell $(CC) -v 2>&1 | grep -c "gcc version"), 1)
CWARN += -Werror -Wsign-conversion -Walloc-zero -Wduplicated-branches -Wduplicated-cond -Wjump-misses-init \
-Wlogical-op -Wpacked-not-aligned -Wshadow=compatible-local -Wshadow=global -Wshadow=local \
-Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure \
- -Wsync-nand -Wtrampolines -Wvector-operation-performance
+ -Wsync-nand -Wtrampolines -Wvector-operation-performance -Wcast-align=strict
CCONFIG += -fsanitize=signed-integer-overflow -fno-sanitize-recover -fno-signaling-nans
else
CWARN += -Wno-missing-field-initializers