aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-05-06 22:35:03 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-05-06 22:35:03 -0400
commita08148694ef6791bfa66ed6a46728df83205f00f (patch)
tree83152ec479c5a190210a70ff222e13efc85eb862 /Makefile
parent3dd71f1225dd04bfae91a1588a48fc94f0526cdd (diff)
Suppress missing initializer warning
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 388d89cc..fd80afc4 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ CWARN=-Wall -Wextra -Wno-format -Wno-format-security -Wshadow \
-Wexpansion-to-defined -Wno-float-equal \
-Wframe-address -Winline -Winvalid-pch \
-Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn \
+ -Wno-missing-field-initializers \
-Wnull-dereference -Woverlength-strings -Wpacked \
-Wredundant-decls -Wshadow \
-Wno-stack-protector -Wswitch-default \
@@ -57,8 +58,6 @@ ifeq ($(shell $(CC) -v 2>&1 | grep -c "gcc version"), 1)
-Wsuggest-attribute=const -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure \
-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
endif
OS := $(shell uname -s)