diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-28 16:47:27 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-28 16:47:27 -0400 |
| commit | d8e032d4b108d7b1c1387519b2ed7bf690543674 (patch) | |
| tree | cf631895be510b7bae2e136ba4d41fa7844f6e8c | |
| parent | 58f95bf36aaa797625b526f59b45687ec2048f50 (diff) | |
Warning flags tweak
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
