Ignore brace warnings on Apple clang

This commit is contained in:
Philippe Teuwen 2022-02-28 15:36:03 +01:00
parent f99704c780
commit 9d760dc746

View file

@ -119,6 +119,8 @@ endif
ifeq ($(platform),Darwin)
# their readline has strict-prototype issues
DEFCFLAGS += -Wno-strict-prototypes
# some warnings about braced initializers on structs we want to ignore
DEFCFLAGS += -Wno-missing-braces
else
DEFCFLAGS += -Wstrict-prototypes
endif