X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2FMakefile.am;fp=src%2Fbindings%2Fpython%2Fbt2%2FMakefile.am;h=4be841442aa4134eea3979c21367e796ea09f5bd;hb=dd420a9b3f83cda6f77e8813165a061856d9d618;hp=e427ef61e892997740b4b5e7f87aea3c972286d5;hpb=faf5c654855a7a42093e43c4c739bb69dd2375d3;p=babeltrace.git diff --git a/src/bindings/python/bt2/Makefile.am b/src/bindings/python/bt2/Makefile.am index e427ef61..4be84144 100644 --- a/src/bindings/python/bt2/Makefile.am +++ b/src/bindings/python/bt2/Makefile.am @@ -122,6 +122,9 @@ WARN_CFLAGS += -Wno-deprecated-declarations # Python 3.11 + gcc 12.2.0 gave warnings of this kind in Python.h. WARN_CFLAGS += -Wno-redundant-decls +# For SWIG generated code +WARN_CFLAGS += -Wno-missing-field-initializers + BUILD_FLAGS=CC="$(CC)" \ CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(WARN_CFLAGS)" \ CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS) -I$(srcdir)/bt2" \