Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Sunday 01 of April 2012, R Skinner wrote:
On 03/31/12 18:49, Lubos Lunak wrote:
  If you use the Clang compiler, then I somehow doubt you'll manage to
get 3.4.5 working with that. In fact I'm even surprised the link mentions
3.5 as usable with Clang, since I had to do several fixes in master this
month to get LO compile and run with Clang on Linux.

With a bit raping in the Makefile it seems to work, roughly, on FreeBSD-
clang is designed to run on its descendant after all (MacOSX) ;)

I'm stuck here though:

In file included from
/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.5.2/soltools/
giparser/gi_list.cxx:33: In file included from ../inc/gi_list.hxx:33:
../inc/st_list.hxx:298:10: error: use of undeclared identfier 'push_back'
                 push_back( new XY(*(*it)) );
                 ^
                 this->
... more notes - usually related to this issue...
../inc/st_list.hxx:311:5: error: use of undeclared identifier 'checkSize'
                 checkSize(DynamicList<XY>::len-2);
                 ^
                 this->
... even more notes the last error...

And then the usual fail routine.

Any pointers on what is going on? I love clang - it shows up all the
little nuances :) More than likely the root of my original issue...

 As I said, I think you're unlikely to build out-of-the-box-3.4.5 with clang. 
Maybe if you try a version which does not have the stricter C++11 support 
yet. Or you can try to fix the source as clang suggests you to do.

-- 
 Lubos Lunak
 l.lunak@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.