https://bugs.documentfoundation.org/show_bug.cgi?id=94389
Bug ID: 94389 Summary: compilerplugins install fails with clang version 3.7.0 Product: LibreOffice Version: 5.1.0.0.alpha0+ Master Hardware: x86-64 (AMD64) OS: Linux (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: Installation Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: danlrobertso...@gmail.com Created attachment 118886 --> https://bugs.documentfoundation.org/attachment.cgi?id=118886&action=edit 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) Target: x86_64-pc-linux-gnu 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. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs