From: Michael Jeanson Date: Tue, 4 Apr 2023 19:19:29 +0000 (-0400) Subject: Python bindings: silence warnings in generated code X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8903c4c7a8537ef8218aa22671a9df074a662dc7;p=lttng-tools.git Python bindings: silence warnings in generated code Add -Wnull-dereference to the list of ignored flags for swig generated code. This triggers on SWIG 3.0.12. Change-Id: Idf5da19666581ac97f7120520d5dcd03eb00d0a7 Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/extras/bindings/swig/python/Makefile.am b/extras/bindings/swig/python/Makefile.am index 29914e5cd..5d9bcc127 100644 --- a/extras/bindings/swig/python/Makefile.am +++ b/extras/bindings/swig/python/Makefile.am @@ -11,6 +11,7 @@ lttng.i: lttng.i.in AM_CFLAGS += \ -Wno-cast-function-type \ -Wno-missing-field-initializers \ + -Wno-null-dereference \ -Wno-redundant-decls \ -Wno-shadow \ -Wno-unused-parameter