Control: retitle -1 pycxx: autopkgtests fail with Python 3.14
It actually needs changes for Python 3.14, to fix example compilation with
it:
range.cxx: In member function ‘Py::Object range::reference_count(const
Py::Tuple&)’:
range.cxx:98:32: error: call of overloaded ‘Long(uint32_t&)’ is ambiguous
98 | return Py::Long( ob_refcnt );
| ^
range.cxx:98:32: note: there are 8 candidates
/usr/include/python3.14/CXX/Python3/Objects.hxx:636:18: note: candidate 1:
‘Py::Long::Long(long long unsigned int)’
636 | explicit Long( unsigned PY_LONG_LONG v )
| ^~~~
/usr/include/python3.14/CXX/Python3/Objects.hxx:629:18: note: candidate 2:
‘Py::Long::Long(long long int)’
629 | explicit Long( PY_LONG_LONG v )
| ^~~~
/usr/include/python3.14/CXX/Python3/Objects.hxx:621:18: note: candidate 3:
‘Py::Long::Long(int)’
621 | explicit Long( int v )
| ^~~~
/usr/include/python3.14/CXX/Python3/Objects.hxx:614:18: note: candidate 4:
‘Py::Long::Long(long unsigned int)’
614 | explicit Long( unsigned long v )
| ^~~~
/usr/include/python3.14/CXX/Python3/Objects.hxx:607:18: note: candidate 5:
‘Py::Long::Long(long int)’
607 | explicit Long( long v = 0L )
| ^~~~
/usr/include/python3.14/CXX/Python3/Objects.hxx:593:9: note: candidate 6:
‘Py::Long::Long(const Py::Long&)’
593 | Long( const Long &ob )
| ^~~~
--
WBR, wRAR
signature.asc
Description: PGP signature

