Details
Description
With version 6.7.0 there seems to be an issue with backwards compatibility, introduced in commit 5d05065b57f5e37c2229ff6a2d98d936c5c7f2bb in the code generator. The commit itself claims its backwards compatible, however, trying to build Cutter (https://github.com/rizinorg/cutter) with 6.7.0 fails.
- Here is a build log https://hydra.nixos.org/build/260309589/nixlog/1
Since 6.7.0 there is no export for this type in the generated file `cutterbindings_python.h`.
In my opinion, to be fully backwards compatible, the code generator has to emit the type again in the file `sources/shiboken6/generator/shiboken/headergenerator.cpp` in the function `finishGeneration`:
macrosStream << "extern PyTypeObject **" << cppApiVariableNameOld() << ";\n\n";