[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] Build error
From:       Renato Golin <renato.golin () linaro ! org>
Date:       2014-04-28 8:35:04
Message-ID: CAMSE1kfQnxud3kA=VBfDWA+GwsPiM6TzJf2yk=L9eULnL13CjQ () mail ! gmail ! com
[Download RAW message or body]

I'm getting the same error...

On 28 April 2014 08:48, Csaba Raduly <rcsaba@gmail.com> wrote:
> $ make happiness
> ...
> Updated to revision 207400.
> At revision 207400.
> Updated to revision 207400.
> Updated to revision 539.
> Updated to revision 207400.
> ...
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/ClangModernize.cpp:
>  In function 'int main(int, const char**)':
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/ClangModernize.cpp:472:68:
>                 
> error: no matching function for call to
> 'clang::tooling::ClangTool::run(std::unique_ptr<clang::tooling::FrontendActionFactory>)'
>  if (SyntaxTool.run(newFrontendActionFactory<SyntaxOnlyAction>()) != 0)
> ^
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/ClangModernize.cpp:472:68:
>                 
> note: candidate is:
> In file included from
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/../../../../include/clang/Tooling/Refactoring.h:23:0,
>  from
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/../Core/Refactoring.h:20,
>  from
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/../Core/Transform.h:20,
>  from
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/../Core/PerfSupport.h:19,
>  from
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/ClangModernize.cpp:18:
>                 
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/../../../../include/clang/Tooling/Tooling.h:283:7:
>                 
> note: int clang::tooling::ClangTool::run(clang::tooling::ToolAction*)
> int run(ToolAction *Action);
> ^
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/../../../../include/clang/Tooling/Tooling.h:283:7:
>                 
> note:   no known conversion for argument 1 from
> 'std::unique_ptr<clang::tooling::FrontendActionFactory>' to
> 'clang::tooling::ToolAction*'
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/ClangModernize.cpp:
>  At global scope:
> /home/csaba/workspace/LLVM/llvm/tools/clang/tools/extra/clang-modernize/tool/ClangModernize.cpp:496:12:
>                 
> warning: 'TransformsAnchorsDestination' defined but not used
> [-Wunused-variable]
> static int TransformsAnchorsDestination[] = {
> ^
> 
> Looks like clang-modernize wasn't updated to follow an interface change.
> 
> Csaba
> --
> GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
> The Tao of math: The numbers you can count are not the real numbers.
> Life is complex, with real and imaginary parts.
> "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
> "People disagree with me. I just ignore them." -- Linus Torvalds
> _______________________________________________
> cfe-dev mailing list
> cfe-dev@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic