[cfe-dev] Build error

Kostya Serebryany kcc at google.com
Mon Apr 28 02:40:27 PDT 2014


Ahmed was last to change these files...


On Mon, Apr 28, 2014 at 12:35 PM, Renato Golin <renato.golin at linaro.org>wrote:

> I'm getting the same error...
>
> On 28 April 2014 08:48, Csaba Raduly <rcsaba at 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 at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140428/13627d85/attachment.html>


More information about the cfe-dev mailing list