X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2FMakefile.am;h=6dc518d2ba5d194a68029823d32ed64ea0b21773;hb=c3e07d2914037a7e374ffed7940bf99b8e23f11f;hp=7efab895abd069c095584bb4877ca18acba4e6c9;hpb=5dea6fddfc4c91e3db715e7ba7d59d9b1db835a0;p=babeltrace.git diff --git a/src/bindings/python/bt2/Makefile.am b/src/bindings/python/bt2/Makefile.am index 7efab895..6dc518d2 100644 --- a/src/bindings/python/bt2/Makefile.am +++ b/src/bindings/python/bt2/Makefile.am @@ -117,6 +117,9 @@ WARN_CFLAGS += -Wno-null-dereference # code. 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 + BUILD_FLAGS=CC="$(CC)" \ CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(WARN_CFLAGS)" \ CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS) -I$(srcdir)/bt2" \