Prublem building LO master in clang 3.6

Stephan Bergmann sbergman at
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 
"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 
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