From 103694072082ee7d55b134d7dad3084200e38871 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 21 Mar 2012 14:52:55 +0100 Subject: cython: Silence a couple of warnings when generating bindings with Cython The Cython team apparently does not care a lot about polishing warnings out, thus we have to supress them here or it looks really ugly. --- cython/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cython/Makefile.am b/cython/Makefile.am index 16b464e..ae10b06 100644 --- a/cython/Makefile.am +++ b/cython/Makefile.am @@ -30,7 +30,7 @@ EXTRA_DIST = imobiledevice.pyx imobiledevice.pxd $(PXIINCLUDES) imobiledevicedir = $(pyexecdir) imobiledevice_LTLIBRARIES = imobiledevice.la imobiledevice_la_SOURCES = imobiledevice.pyx -imobiledevice_la_CFLAGS = -I../include -I../src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) +imobiledevice_la_CFLAGS = -I../include -I../src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LDFLAGS) $(AM_LDFLAGS) imobiledevice_la_LIBADD = ../src/libimobiledevice.la -- cgit v1.1-32-gdbae