Prublem building LO master in clang 3.6

Stephan Bergmann sbergman at redhat.com
Mon Jan 16 09:33:37 UTC 2017


On 01/14/2017 12:37 PM, Giuseppe Castagno wrote:
> tryiong to build LO recent master in clang 3.6 I got an error building
> plugins:
> ...
>
> [build CXX] compilerplugins/clang/salbool.cxx
> /srv5/git/LO/lo-gerrit-clang-dbgutil/compilerplugins/clang/salbool.cxx:111:15:
> error: no member named 'isLookupContext' in 'clang::DeclContext'
>     if (!ctx->isLookupContext()) {
>          ~~~  ^

This specific issue should be fixed with 
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=0f4f5621d194c9221b55bb4a20a251a0bb497d69> 
"Use compat::isLookupContext."

However, most people (esp. those writing plugins) probably use newer 
Clang than 3.6 by now, so there may be more issues with older Clang 
remaining in compilerplugins/clang/ that remained undetected for a while.

We removed plugin support for Clang < 3.4 with 
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=733198de1b7fc3907609217147704f493f6146e6>, 
and I'd like to bump the baseline again in the future, depending on the 
oldest version that people are using (for a good reason).  Any specific 
reason you're using Clang 3.6?


More information about the LibreOffice mailing list