Hi all,
I am developing a moderate sized c++ framework package. The package
has a lot of exception code and I used to compile and use it successfully
under Slackware Linux, gcc.2.7.2.1, binutils.2.8.x
There were no problems with exception handling, as far as I could see.
(with -fhandle-exceptions)
After I upgraded to Redhat Linux 5.0 (and hence to gcc 2.8.2.3, glibc2,
binutils-2.8.1.x etc., I first had problems with debugging with gdb.
This was resolved by an upgrade to "binutils-2.9.x" (thans to all who
replied! :-))
But in the meantime, I had upgraded to gcc-2.8.1 and the corresponding
libg++ and libstdc++.2.8.1.1. This version of gcc is claimed to be
much more stable and in working condition in terms of exception handling.
However, my current problem is non-working exception code!!
Namely, when the exception is thrown, the program does not enter
the handling code in the try-catch pair. The program is terminated by
an Abort call and I have a core dump.
What is the matter with gcc-2.8.1?? Or, am I missing some other point?
Any help and suggestions would be greatly appreciated.
Sincerely,
--
Afsar SARANLI
Dept. of Electrical and Electronics Engineering Tel:(90-312) 210-4419
Middle East Technical University Fax:(90-312) 210-1261
Inonu Bulvari, 06531