Trouble compiling with clang 3.6 on Ubuntu 14.04

Stephan Bergmann sbergman at redhat.com
Mon Jul 18 09:47:57 UTC 2016


On 07/17/2016 10:43 AM, Giuseppe Castagno wrote:
> /srv5/git/LO/lo-implement-options-clang/compilerplugins/clang/unnecessaryoverride.cxx:82:58:
> error: no member named 'body_front' in 'clang::CompoundStmt'; did you
> mean 'body_end'?
>     auto returnStmt = dyn_cast<ReturnStmt>(compoundStmt->body_front());
>                                                          ^~~~~~~~~~
>                                                          body_end

should be fixed now with 
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=e8b2fc7a92ca4d725b125a13795a48c01d2f8231> 
"Adapt to older Clang that don't have CompoundStmt::body_front"



More information about the LibreOffice mailing list