Exceptions not caught on AIX 4.3.3 with gcc 3.0.4

Rémi Zara remi_zara@mac.com
Wed Feb 5 07:11:00 GMT 2003


Le mardi, 4 fév 2003, à 18:04 Europe/Paris, John Love-Jensen a écrit :

> It was supposed to be fixed in 3.0, but I recall (vaguely) that it 
> hadn't
> been quite fixed correctly.  I don't know the exact 3.0 details, and I 
> may
> be mistaken about 3.0.
>
> Exceptions thrown out of shared libraries MAY have been fixed in 3.1 
> or 3.2.
> I haven't tested them, as we're using a strict C ABI with shared 
> libraries,
> so we do not throw exceptions over shared library boundaries.

My problem happen even if I throw an exception in main() and catch it 
immediately...

> Note:  with 2.95, one could have a problem even with exceptions throw 
> and
> caught WITHIN a shared library.  The library needed to be built a 
> special
> way (early binding).

> The above is pertinent to SunOS, so may or may not be apropos for AIX.
>
> Possible solutions are to use a static library (.a), or to upgrade to 
> the
> latest released GCC (3.2.x).

I guess I will have to try with 3.2.x, then.

Thanks for your help,

Rémi
--
Rémi Zara
web: http://www.remi-zara.net/



More information about the Gcc-help mailing list