Commit a40e32b21c8716186c8940c6bbba07a8039c402d

Steffen Jaeckel 2017-10-10T14:30:01

suppress some warnings when compiling with mingw-gcc [skip ci]

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/makefile_include.mk b/makefile_include.mk
index 3a599e8..45a4895 100644
--- a/makefile_include.mk
+++ b/makefile_include.mk
@@ -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