X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2FMakefile.am;fp=src%2Fbindings%2Fpython%2Fbt2%2FMakefile.am;h=e3e3cbb6dacab3f7de340126115379f04b1127cd;hp=b74821ae8d81445b657c1a4b4734fc04e9eace28;hb=ae6ee563d8c48e3af02aa0427e504d4a90570368;hpb=d7e2a9ad8351a542a30c7fdc603adf83249f928b diff --git a/src/bindings/python/bt2/Makefile.am b/src/bindings/python/bt2/Makefile.am index b74821ae..e3e3cbb6 100644 --- a/src/bindings/python/bt2/Makefile.am +++ b/src/bindings/python/bt2/Makefile.am @@ -128,6 +128,10 @@ WARN_CFLAGS += -Wno-redundant-decls # `__cplusplus` is not defined. WARN_CFLAGS += -Wno-undef +# For SWIG generated code +WARN_CFLAGS += -Wno-missing-field-initializers +WARN_CFLAGS += -Wno-unused-parameter + BUILD_FLAGS=CC="$(CC)" \ CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(WARN_CFLAGS)" \ CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS) -I$(srcdir)/bt2" \