Closed vries closed 5 years ago
With python3, we have:
Demo: gcc version: 8002
Demo: reference file used: demo.expected.no-refcounts
1a2,3
> demo.c:34:: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration]
> demo.c:34:: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]
make: *** [Makefile:302: testdemo] Error 1
With python3, we have:
Demo: gcc version: 8002 Demo: reference file used: demo.expected.no-refcounts 1a2,3 > demo.c:34:: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] > demo.c:34:: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion] make: *** [Makefile:302: testdemo] Error 1
Fixed in https://github.com/davidmalcolm/gcc-python-plugin/pull/141
Makefile: Verify demo run for target test-suite
Split off part that disables reference counting for gcc-7+, submitted as https://github.com/davidmalcolm/gcc-python-plugin/pull/140.
Updated version v11 submitted.
Hmm, when looking at the details, it looks like all builds passed. But here, I see "Some checks haven’t completed yet".