Hi,

please check, whether you have different versions of libstdc++ in your process (e.g. when analyzing the core with gdb, type

info shared

). OOo and your code must be compiled with the same compiler (and thus with the same libstdc++, otherwise at least exception handling crashes ...

I think, the current OOo install sets are built with gcc-3.4.1 (please correct me if I am wrong), please give this one a try ...

You may then get problems, when you link other shared c++ libs of your distro into your app, that's the bad thing about not having binary compatibility with gcc :-(. As long, as you build everything from source (including OOo), you don't have a problem ...

Bye,

Joerg

Aditya Pandey wrote:

Daniel Boelzle <daniel.boelzle <at> Sun.COM> writes:

Seems that even simplest exception handling does not work on your
compiler.  Have you tried to write a simple program (without linking
against any SDK libraries) throwing your own exception type, e.g.

As mentioned in my last post, without OO SDK libraries, there is no such problem (your sample exception program works with similar flags as used
for compiling counter example, except that only libstdc++ is used
and no other OO library has been used).

And, I have tested on 2 machines (Fedora Core 3, and Red Hat 9) the
counter example. Without exceptions, it works. With exceptions and despite,
catch code, it crashes. I tried to look at preprocessed output, could
not find anything suspicious.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to