Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exception-handling with g++ 3.3.2 - broken ?

Status
Not open for further replies.

colmmagoo

Programmer
Aug 19, 2004
6
US
Is exception-handling broken in g++ 3.3.2 on AIX 5.2 ?

I found the following link:


which states that

"When running a 64-bit C++ application using C++ shared libraries and exception handling, the application crashes. GCC 3.4.3 fixes an error that prevented C++ exception handling across shared libraries from operating correctly in 64 bit mode."

I have a 32-bit C++ application, using shared libraries and multi-threading, with all but two of the libraries compiled with -fno-exceptions. I need to handle exceptions in two of the libraries because one is third party code that uses C++ exceptions. The other library is the client of that 3rd party library. The application runs fine on other platforms (solaris, windows, linux) but every time it hits a throw when running on AIX it aborts, with a thrased looking stack.

Can anyone confirm if g++ 3.3.2's exceptions don't work on AIX ?

Much thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top