suppress some warnings when compiling with mingw-gcc
[skip ci]
This commit is contained in:
parent
e40482f82a
commit
233ef83530
@ -106,6 +106,9 @@ endif # COMPILE_DEBUG
|
|||||||
ifneq ($(findstring clang,$(CC)),)
|
ifneq ($(findstring clang,$(CC)),)
|
||||||
LTC_CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header -Wno-missing-field-initializers
|
LTC_CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header -Wno-missing-field-initializers
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(findstring mingw,$(CC)),)
|
||||||
|
LTC_CFLAGS += -Wno-shadow -Wno-attributes
|
||||||
|
endif
|
||||||
ifeq ($(PLATFORM), Darwin)
|
ifeq ($(PLATFORM), Darwin)
|
||||||
LTC_CFLAGS += -Wno-nullability-completeness
|
LTC_CFLAGS += -Wno-nullability-completeness
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user