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