Python bindings: silence warnings in generated code
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 4 Apr 2023 19:19:29 +0000 (15:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 5 Apr 2023 14:22:05 +0000 (10:22 -0400)
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 <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
extras/bindings/swig/python/Makefile.am

index 29914e5cd5404e131393e310efaf8efe9ed53d97..5d9bcc127ebded1dee0ee7a92069dfda03242fa3 100644 (file)
@@ -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
This page took 0.025706 seconds and 4 git commands to generate.