[Libreoffice] [PATCH] fixing some errors when building with clang on linux

Lubos Lunak l.lunak at suse.cz
Tue Jan 3 06:38:46 PST 2012


On Monday 02 of January 2012, August Sodora wrote:
> The fourth and final patch is the most troubling one because there is
> no way it can be correct. Clang really doesn't like stlport trying to
> use placement new to call a "helper" constructor and according to [1]
> it might not do what was intended there anyway. I would rather not
> have to do --without-stlport because my understanding is that it would
> break abi compat. Is there a better way to fix this issue than making
> an init() method somewhere that both constructors can call?

 I think C++11 allows a ctor to directly call another ctor, but otherwise 
init() seems to be the only correct option.

-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the LibreOffice mailing list