suppress some warnings when compiling with mingw-gcc

[skip ci]
This commit is contained in:
Steffen Jaeckel 2017-10-10 14:29:34 +02:00
parent e40482f82a
commit 233ef83530

View File

@ -106,6 +106,9 @@ endif # COMPILE_DEBUG
ifneq ($(findstring clang,$(CC)),)
LTC_CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header -Wno-missing-field-initializers
endif
ifneq ($(findstring mingw,$(CC)),)
LTC_CFLAGS += -Wno-shadow -Wno-attributes
endif
ifeq ($(PLATFORM), Darwin)
LTC_CFLAGS += -Wno-nullability-completeness
endif