Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.13.0-beta1
Description
Building qt-creator for openSUSE Leap 15.2 with clang 9 fails:
[ 691s] In file included from /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/collectsymbolsaction.h:29:0, [ 691s] from /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/collectsymbolsaction.cpp:26: [ 691s] /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/indexdataconsumer.h:60:10: error: 'bool ClangBackEnd::IndexDataConsumer::handleDeclOccurrence(const clang::Decl*, clang::index::SymbolRoleSet, llvm::ArrayRef<clang::index::SymbolRelation>, clang::SourceLocation, clang::index::IndexDataConsumer::ASTNodeInfo)' marked 'override', but does not override [ 691s] bool handleDeclOccurrence( [ 691s] ^~~~~~~~~~~~~~~~~~~~ [ 691s] /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/indexdataconsumer.h:67:10: error: 'bool ClangBackEnd::IndexDataConsumer::handleMacroOccurrence(const clang::IdentifierInfo*, const clang::MacroInfo*, clang::index::SymbolRoleSet, clang::SourceLocation)' marked 'override', but does not override [ 691s] bool handleMacroOccurrence( [ 691s] ^~~~~~~~~~~~~~~~~~~~~ [ 691s] In file included from /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/collectsymbolsaction.cpp:26:0: [ 691s] /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/collectsymbolsaction.h: In constructor 'ClangBackEnd::CollectSymbolsAction::CollectSymbolsAction(std::shared_ptr<ClangBackEnd::IndexDataConsumer>)': [ 691s] /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/collectsymbolsaction.h:51:90: error: too few arguments to function 'std::unique_ptr<clang::FrontendAction> clang::index::createIndexingAction(std::shared_ptr<clang::index::IndexDataConsumer>, clang::index::IndexingOptions, std::unique_ptr<clang::FrontendAction>)' [ 691s] clang::index::createIndexingAction(indexDataConsumer, createIndexingOptions())) [ 691s] ^ [ 691s] In file included from /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/collectsymbolsaction.h:39:0, [ 691s] from /home/abuild/rpmbuild/BUILD/qt-creator-opensource-src-4.13.0-beta1/src/tools/clangrefactoringbackend/source/collectsymbolsaction.cpp:26: [ 691s] /usr/include/clang/Index/IndexingAction.h:55:1: note: declared here [ 691s] createIndexingAction(std::shared_ptr<IndexDataConsumer> DataConsumer, [ 691s] ^~~~~~~~~~~~~~~~~~~~ [ 691s] make[2]: *** [src/tools/clangrefactoringbackend/source/CMakeFiles/clangrefactoringbackend_lib.dir/build.make:148: src/tools/clangrefactoringbackend/source/CMakeFiles/clangrefactoringbackend_lib.dir/collectsymbolsaction.cpp.o] Error 1
Attachments
Issue Links
- replaces
-
QTCREATORBUG-24537 Build error "member access into incomplete type 'const clang::FileEntry"
- Closed