Ignore brace warnings on Apple clang
This commit is contained in:
1 parent
f99704c780
commit
9d760dc746
1 file changed
+2
@@ -119,6 +119,8 @@ endif
|
|||||||
ifeq ($(platform),Darwin)
|
ifeq ($(platform),Darwin)
|
||||||
# their readline has strict-prototype issues
|
# their readline has strict-prototype issues
|
||||||
DEFCFLAGS += -Wno-strict-prototypes
|
DEFCFLAGS += -Wno-strict-prototypes
|
||||||
|
# some warnings about braced initializers on structs we want to ignore
|
||||||
|
DEFCFLAGS += -Wno-missing-braces
|
||||||
else
|
else
|
||||||
DEFCFLAGS += -Wstrict-prototypes
|
DEFCFLAGS += -Wstrict-prototypes
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in new issue
Block a user