From 8903c4c7a8537ef8218aa22671a9df074a662dc7 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 4 Apr 2023 15:19:29 -0400 Subject: [PATCH] Python bindings: silence warnings in generated code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- extras/bindings/swig/python/Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1