diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-05-06 22:35:03 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-05-06 22:35:03 -0400 |
| commit | a08148694ef6791bfa66ed6a46728df83205f00f (patch) | |
| tree | 83152ec479c5a190210a70ff222e13efc85eb862 /Makefile | |
| parent | 3dd71f1225dd04bfae91a1588a48fc94f0526cdd (diff) | |
Suppress missing initializer warning
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |
