|
From: Orion P. <or...@nw...> - 2024-08-13 05:20:53
|
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:
In function ‘do_pltr_callback’:
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:4065:22:
error: implicit declaration of function ‘PyEval_CallObject’; did you
mean ‘PyObject_CallObject’? [-Wimplicit-function-declaration]
4065 | result = PyEval_CallObject( python_pltr, arglist );
| ^~~~~~~~~~~~~~~~~
| PyObject_CallObject
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:4065:20:
error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’
makes pointer from integer without a cast [-Wint-conversion]
4065 | result = PyEval_CallObject( python_pltr, arglist );
| ^
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:
In function ‘do_f2eval_callback’:
[ 45%] Built target x10c
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:4114:20:
error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’
makes pointer from integer without a cast [-Wint-conversion]
4114 | result = PyEval_CallObject( python_f2eval, arglist );
| ^
[ 45%] Linking C executable x14c
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:
In function ‘do_label_callback’:
cd
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/examples/c
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/x14c.dir/link.txt
--verbose=1
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:4158:20:
error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’
makes pointer from integer without a cast [-Wint-conversion]
4158 | result = PyEval_CallObject( python_label, arglist );
| ^
[ 45%] Linking C executable x08c
gmake[2]: Leaving directory
'/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build'
cd
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/examples/c
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/x08c.dir/link.txt
--verbose=1
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/drivers/cairo.c:
In function ‘plD_eop_xcairo’:
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:
In function ‘do_ct_callback’:
[ 45%] Built target x00c
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/drivers/cairo.c:2088:14:
warning: variable ‘aStream’ set but not used [-Wunused-but-set-variable]
2088 | PLCairo *aStream;
| ^~~~~~~
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:4215:20:
error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’
makes pointer from integer without a cast [-Wint-conversion]
4215 | result = PyEval_CallObject( python_ct, arglist );
| ^
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:
In function ‘do_mapform_callback’:
gmake[2]: Leaving directory
'/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build'
/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/bindings/python/plplotcPYTHON_wrap.c:4256:20:
error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’
makes pointer from integer without a cast [-Wint-conversion]
4256 | result = PyEval_CallObject( python_mapform, arglist );
| ^
looks like that was deprecated in 3.9 and removed in 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html#removed-c-apis
--
Orion Poplawski
he/him/his - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane or...@nw...
Boulder, CO 80301 https://www.nwra.com/
|