Details
-
Bug
-
Resolution: Done
-
P4: Low
-
None
-
6.2.2
-
None
-
-
66129dacde (pyside/pyside-setup/dev) 9f6ebba4e5 (pyside/pyside-setup/6.2) 9f6ebba4e5 (pyside/tqtc-pyside-setup/6.2) 66129dacde (pyside/tqtc-pyside-setup/dev) 66129dacde (pyside/tqtc-pyside-setup/tqtc/dev) 9f6ebba4e5 (pyside/pyside-setup/6.2.4)
Description
pyside6 and shiboken6 require llvm/clang version >=9
with llvm/clang version <9 ...
actual: build error
expected: config error = should throw fatal error in configure phase
similar:
qttools requires clang 8
https://code.qt.io/cgit/qt/qttools.git/tree/configure.cmake#n17
qt_find_package(WrapLibClang 8 PROVIDED_TARGETS WrapLibClang::WrapLibClang)
with clang 7 / clang 8: error: 'CXCursor_ExceptionSpecificationKind_NoThrow' was not declared
[ 82%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/qtdocparser.cpp.o /build/pyside-setup-opensource-src-6.2.2/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp: In function 'ExceptionSpecification clang::exceptionSpecificationFromClang(clang::BaseVisitor*, const CXCursor&, bool)': /build/pyside-setup-opensource-src-6.2.2/sources/shiboken6/ApiExtractor/clangparser/clangbuilder.cpp:330:10: error: 'CXCursor_ExceptionSpecificationKind_NoThrow' was not declared in this scope; did you mean 'CXCursor_ExceptionSpecificationKind_None'? 330 | case CXCursor_ExceptionSpecificationKind_NoThrow: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | CXCursor_ExceptionSpecificationKind_None