Parcourir la source

suppress some warnings when compiling with mingw-gcc

[skip ci]
Steffen Jaeckel il y a 8 ans
Parent
commit
233ef83530
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      makefile_include.mk

+ 3 - 0
makefile_include.mk

@@ -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