Re: Problem building in clang 3.6 (Ubuntu 14.04)

2016-11-01 Thread Noel Grandin

hopefully "fixed" now with 5e997f4dba1cfcde554ff413a615e101b9c72ee5

I just disabled that chunk of code on earlier clang releases, means people might miss some warnings, but that's a fairly 
unlikely warning for normal coding to hit

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem building in clang 3.6 (Ubuntu 14.04)

2016-11-01 Thread Giuseppe Castagno

On 11/01/2016 12:07 PM, Noel Grandin wrote:

hopefully "fixed" now with 5e997f4dba1cfcde554ff413a615e101b9c72ee5



clang 3.6 build in progress.

Thanks.

--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem building in clang 3.6 (Ubuntu 14.04)

2016-10-31 Thread Giuseppe Castagno

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@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
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Problem building in clang 3.6 (Ubuntu 14.04)

2016-10-31 Thread Noel Grandin


should be fixed with

  
https://cgit.freedesktop.org/libreoffice/core/commit/?id=eaf32cd43c4d45db6c3b284d53169c81f522744e
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Problem building in clang 3.6 (Ubuntu 14.04)

2016-10-30 Thread Giuseppe Castagno

Hi all,

Ubuntu 14.04, clang 3.6, relevant build log:

[build CXX] compilerplugins/clang/reservedid.cxx
[build CXX] compilerplugins/clang/unnecessaryoverride.cxx
/srv5/git/LO/lo-gerrit-clang-dbgutil/compilerplugins/clang/unnecessaryoverride.cxx:269:71: 
error: too few arguments to function call, expected 3, have 2

  methodDecl->getParent()->lookupInBases(BaseMatchesCallback, aPaths);
  ~~^
/usr/lib/llvm-3.6/include/clang/AST/DeclCXX.h:1527:3: note: 
'lookupInBases' declared here

bool lookupInBases(BaseMatchesCallback *BaseMatches, void *UserData,
^
/usr/lib/llvm-3.6/bin/../lib/clang/3.6.0/include/stdbool.h:37:15: note: 
expanded from macro 'bool'

#define bool  bool
^
1 error generated.


--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice