A. Coady created PYLUCENE-66:
--------------------------------

             Summary: JCC doesn't build with Python 3.11.
                 Key: PYLUCENE-66
                 URL: https://issues.apache.org/jira/browse/PYLUCENE-66
             Project: PyLucene
          Issue Type: Bug
         Environment: Python 3.11
            Reporter: A. Coady


{{#10 10.86 In file included from /usr/local/include/python3.11/Python.h:44,}}
{{#10 10.86 from _jcc3/java/lang/Object.h:18,}}
{{#10 10.86 from jcc3/sources/functions.cpp:23:}}
{{#10 10.86 jcc3/sources/functions.cpp: In function ‘void 
installType(PyTypeObject*{*}, PyType_Def{*}, PyObject*, char*, int)’:}}
{{#10 10.86 /usr/local/include/python3.11/object.h:136:30: error: lvalue 
required as left operand of assignment}}
{{#10 10.86 136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))}}
{{#10 10.86 | ~~~~~{~}{{~}}^{{~}}{~}~~~~~~~~~~~~~~~~~}}
{{#10 10.86 jcc3/sources/functions.cpp:1742:13: note: in expansion of macro 
‘Py_TYPE’}}
{{#10 10.86 1742 | Py_TYPE(*type) = PY_TYPE(FinalizerClass);}}
{{#10 10.86 | ^~~~~~~}}
{{#10 10.89 error: command '/usr/bin/gcc' failed with exit code 1}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to