Created attachment 118886 [details]
Errors thrown when compiling compilerplugins with clang3.7.0
I'm still a bit of a noobie, so I could be out of line here, but my install fails on Gentoo with the errors in the attachment and the following version of clang.
clang version 3.7.0 (tags/RELEASE_370/final)
Thread model: posix
Selected GCC installation /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3
According to http://clang.llvm.org/doxygen/classclang_1_1Stmt.html the second two errors are an easy fix, and it compiles if range.<begin/end>() is changed to range->child_<begin/end>().
The first error is a little more complicated as decl.forallBases(BaseMatches, AllowShortCircuit); is correct according to http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html. However, according to what I have in my /usr/include/clang/AST/DeclCXX.h, decl.forallBases(BaseMatches, callback, AllowShortCircuit); should be used. I'll submit a patch shortly with what I get to compile.
Daniel Robertson committed a patch related to this issue.
It has been pushed to "master":
tdf#94389 compilerplugins: clang 3.7.0
It will be available in 5.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.