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)),)
|
||||
CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header
|
||||
endif
|
||||
ifneq ($(findstring mingw,$(CC)),)
|
||||
CFLAGS += -Wno-shadow
|
||||
endif
|
||||
ifeq ($(PLATFORM), Darwin)
|
||||
CFLAGS += -Wno-nullability-completeness
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user