[Libreoffice] [PATCH] libstdc++ STL debug

Lubos Lunak l.lunak at suse.cz
Wed Sep 21 03:55:44 PDT 2011


On Thursday 15 of September 2011, Michael Stahl wrote:
> On 15.09.2011 16:34, Caolán McNamara wrote:
> > On Thu, 2011-09-15 at 14:34 +0200, Michael Stahl wrote:
> >> of course what also needs to be prevented is linking against system
> >> libraries that expose STL in their interface; a quick search found me
> >> cppunit and graphite; the mozilla/nss stuff doesn't seem to expose STL.
...
> we only have 212 modules so the size of the list is bounded :)
>
> now which of these are external C++ libraries...
>
...
> that's all i've found, slightly updated patch attached.  please check if
> i've missed anything :)

 You forgot Qt4/KDE4. LO does not use STL with it, so this is just to show 
that it's not so trivial to check if there's a potential problem. And I 
seriously doubt there's a good way how to check for this automatically, so 
the only way to find such a problem would presumably be getting a strange 
crash.

 But I'm not against, if not having STL debug enabled on Linux makes building 
on Windows even more of a nightmare, then I guess we could live with that.

-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the LibreOffice mailing list