Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not build #1

Open
zaoqi opened this issue Jun 23, 2019 · 0 comments
Open

can not build #1

zaoqi opened this issue Jun 23, 2019 · 0 comments

Comments

@zaoqi
Copy link
Contributor

zaoqi commented Jun 23, 2019

Scanning dependencies of target cpp-simplifier
[ 16%] Building CXX object CMakeFiles/cpp-simplifier.dir/inclusion_unroller.cpp.o
/home/zaoqi/pkgs-src/cpp-simplifier/src/inclusion_unroller.cpp:34:16: 錯誤:「virtual void InclusionUnrollingAction::InclusionHandler::InclusionDirective(clang::SourceLocation, const clang::Token&, llvm::StringRef, bool, clang::CharSourceRange, const clang::FileEntry*, llvm::StringRef, llvm::StringRef, const clang::Module*)」 marked 「override」, but does not override
   virtual void InclusionDirective(
                ^~~~~~~~~~~~~~~~~~
/home/zaoqi/pkgs-src/cpp-simplifier/src/inclusion_unroller.cpp: In function 「std::__cxx11::string unroll_inclusion(const string&, const string&, const std::vector<std::__cxx11::basic_string<char> >&)」:
/home/zaoqi/pkgs-src/cpp-simplifier/src/inclusion_unroller.cpp:203:11: 錯誤:「FixedCompilationDatabase」 不是 「tooling」 的成員
  tooling::FixedCompilationDatabase compilations(".", clang_options);
           ^~~~~~~~~~~~~~~~~~~~~~~~
/home/zaoqi/pkgs-src/cpp-simplifier/src/inclusion_unroller.cpp:203:11: 附註:suggested alternative: 「CompilationDatabase」
  tooling::FixedCompilationDatabase compilations(".", clang_options);
           ^~~~~~~~~~~~~~~~~~~~~~~~
           CompilationDatabase
/home/zaoqi/pkgs-src/cpp-simplifier/src/inclusion_unroller.cpp:205:3: 錯誤:「compilations」 在此作用欄位中尚未宣告
   compilations, llvm::ArrayRef<std::string>(input_filename));
   ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/cpp-simplifier.dir/build.make:63: CMakeFiles/cpp-simplifier.dir/inclusion_unroller.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/cpp-simplifier.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant