fix: build Python bindings with GCC10
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 23 Jan 2020 16:00:08 +0000 (11:00 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 23 Jan 2020 20:09:50 +0000 (15:09 -0500)
commit219c9e3ca0103c1eb6dcc1ff07ca9885fe8e4e4c
tree2bc240b3475f6b1aeb7762430c6c8622457d36e2
parentf100cb589822addb6529cf0e542fe1f63e5ebcc2
fix: build Python bindings with GCC10

Disable -Wnull-dereference for native_bt.c

bt2/native_bt.c: In function ‘SWIG_Python_NewPointerObj.constprop’:
bt2/native_bt.c:2207:13: error: potential null pointer dereference [-Werror=null-dereference]
 2207 |   PyObject *newraw = data->newraw;
      |             ^~~~~~

Change-Id: I05db1c48304b1fbc715d273425e16d7605405b27
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2852
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
src/bindings/python/bt2/Makefile.am
This page took 0.024359 seconds and 4 git commands to generate.