Details
Description
Pyside is no longer buildable with libclang 14.0
agent:2025/04/28 06:26:59 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-linux/python3-shiboken6-native/6.9.1-r0/git/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp: In function ‘CodeModel::FunctionType clang::functionTypeFromCursor(const CXCursor&)’: agent:2025/04/28 06:26:59 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-linux/python3-shiboken6-native/6.9.1-r0/git/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp:373:13: error: ‘clang_CXXMethod_isCopyAssignmentOperator’ was not declared in this scope agent:2025/04/28 06:26:59 build.go:404: | 373 | if (clang_CXXMethod_isCopyAssignmentOperator(cursor) != 0) agent:2025/04/28 06:26:59 build.go:404: | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agent:2025/04/28 06:26:59 build.go:404: | /home/qt/work/build/build/tmp/work/x86_64-linux/python3-shiboken6-native/6.9.1-r0/git/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp:375:18: error: ‘clang_CXXMethod_isMoveAssignmentOperator’ was not declared in this scope agent:2025/04/28 06:26:59 build.go:404: | 375 | else if (clang_CXXMethod_isMoveAssignmentOperator(cursor) != 0) agent:2025/04/28 06:26:59 build.go:404: | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Available only in libclang 16.0: https://docs.rs/clang-sys/latest/clang_sys/fn.clang_CXXMethod_isMoveAssignmentOperator.html
Attachments
Issue Links
- relates to
-
PYSIDE-3004 [Roadmap 2025] shiboken6: Better handling of non-default constructible or other special value types
-
- Closed
-
For Gerrit Dashboard: PYSIDE-3091 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
642253,6 | Allow for building with Clang 14 (Yocto) | dev | pyside/pyside-setup | Status: MERGED | +2 | +1 |
642904,2 | Allow for building with Clang 14 (Yocto) | 6.9 | pyside/pyside-setup | Status: MERGED | +2 | 0 |