Problem building in clang 3.6 (Ubuntu 14.04)

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Mon Oct 31 11:38:39 UTC 2016


On 10/31/2016 10:55 AM, Noel Grandin wrote:
>
> should be fixed with
>
>
> https://cgit.freedesktop.org/libreoffice/core/commit/?id=eaf32cd43c4d45db6c3b284d53169c81f522744e
>
>

after the above, the error changed into this:

[build CXX] compilerplugins/clang/vclwidgets.cxx
[build CXX] compilerplugins/clang/unnecessaryoverride.cxx
/srv5/git/LO/lo-gerrit-clang-dbgutil/compilerplugins/clang/unnecessaryoverride.cxx:275:44: 
error: no viable conversion from '(lambda at 
/srv5/git/LO/lo-gerrit-clang-dbgutil/compilerplugins/clang/unnecessaryoverride.cxx:230:32)' 
to 'BaseMatchesCallback *' (aka 'bool (*)(const clang::CXXBaseSpecifier 
*, clang::CXXBasePath &, void *)')
     methodDecl->getParent()->lookupInBases(BaseMatchesCallback, 
nullptr, aPaths);
                                            ^~~~~~~~~~~~~~~~~~~
/usr/lib/llvm-3.6/include/clang/AST/DeclCXX.h:1527:43: note: passing 
argument to parameter 'BaseMatches' here
   bool lookupInBases(BaseMatchesCallback *BaseMatches, void *UserData,
                                           ^
1 error generated.
/srv5/git/LO/lo-gerrit-clang-dbgutil/compilerplugins/Makefile-clang.mk:92: 
recipe for target 
'/srv5/git/LO/lo-gerrit-clang-dbgutil/compilerplugins/obj/unnecessaryoverride.o' 
failed
make: *** 
[/srv5/git/LO/lo-gerrit-clang-dbgutil/compilerplugins/obj/unnecessaryoverride.o] 
Error 1
beppe at dsklnx2:/srv5/git/LO/lo-gerrit-clang-dbgutil


-- 
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu


More information about the LibreOffice mailing list