python-mapnik icon indicating copy to clipboard operation
python-mapnik copied to clipboard

'PyUnicode_FromUnicode' is deprecated

Open artemp opened this issue 2 years ago • 1 comments

src/python_grid_utils.cpp:108:26: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
                         PyUnicode_FromUnicode(line.get(), array_size))));
                         ^
/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/unicodeobject.h:600:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
^
/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))

artemp avatar Nov 03 '22 17:11 artemp