This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Problems with exception handling in 2.96 snapshots
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Problems with exception handling in 2.96 snapshots
- From: Max Weninger <max at takefive dot co dot at>
- Date: Fri, 25 Feb 2000 12:03:24 +0100 (CET)
Hi,
I just discovered the following behaviour with the latetet 2.96 snapshot
class A {
public:
A( ){;}
~A( ){;}
void test( ) throw( A );
};
When i try to compile this code the following errors came up
x.C:5: invalid use of undefined type `class A'
x.C:1: forward declaration of `class A'
The same worked with all older versions e.g. 2.95.2
Whats wrong ?
My Environment
gcc -v
Reading specs from /opt/egcs-20000221/lib/gcc-lib/alphaev56-unknown-linux-gnu/2.96/specs
gcc version 2.96 20000221 (experimental)
uname -a
Linux extreme 2.2.14 #2 Mon Feb 14 17:14:06 CET 2000 alpha unknown
Regards
Max
--
_______________________________________________________________
\
o/\_ DI Max Weninger
<\__,\ Email (max@takefive.co.at)
">. |
` .-| Jakob-Haringer-Str. 8
. \ A-5020 Salzburg - AUSTRIA
. \ Tel: +43 662 4579150 - Fax: +43 662 4579156
.-|
_________._|____________________________________________________