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


On 02/13/2013 05:41 PM, Stephan Bergmann wrote:
On 02/13/2013 04:46 PM, Tor Lillqvist wrote:
so that some catch block that should match doesn't.

Isn't one typical problem that two type_infos are compared for
equality by comparing the name string pointers instead of comparing
the name strings with strcmp? I have seen stuff like that both in the
Android and iOS ports, I think. Unfortunately it is such a complex
topic that I don't recall the details. But yeah, there must be
something special in his toolchain compared to that on "normal" Linux.

Comparing just pointers is indeed how the g++ runtime traditionally
behaved---though that's been changed in more recent times, to actually
compare the strings.  That's the reason why LO has traditionally been
careful to export all the weak _ZTI* and _ZTS* symbols from all libraries.

Stephan


I have only very limited knowledge of the LO codebase and inner workings, and I have no clue what "C++ UNO bridge" is or how it works.

Any hints on what I could do to debug / investigate this further would be most appreciated.

/Henrik

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.