From 233ef8353014b0e8a5309013bb0ae30f3d3e0a1e Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 10 Oct 2017 14:29:34 +0200 Subject: [PATCH] suppress some warnings when compiling with mingw-gcc [skip ci] --- makefile_include.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/makefile_include.mk b/makefile_include.mk index 4ae1e25..d501d7b 100644 --- a/makefile_include.mk +++ b/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