geometry2
geometry2 copied to clipboard
Using PyEval_CallObjectWithKeywords, deprecated in CPython3.9
--- stderr: tf2_py
/opt/ros/master/src/ros2/geometry2/tf2_py/src/tf2_py.cpp:99:11: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
pinst = PyEval_CallObject(pclass, pargs);
^
/usr/local/Cellar/python/HEAD-29356e0/Frameworks/Python.framework/Versions/3.9/include/python3.9/ceval.h:24:5: note: expanded from macro 'PyEval_CallObject'
PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
^
/usr/local/Cellar/python/HEAD-29356e0/Frameworks/Python.framework/Versions/3.9/include/pytho
n3.9/ceval.h:17:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
^
/usr/local/Cellar/python/HEAD-29356e0/Frameworks/Python.framework/Versions/3.9/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
1 warning generated.
---
Finished <<< tf2_py [9.74s]