This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12874] [Regression] cannot declare throw (Exception) in class Exception itself
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2003 10:54:59 -0000
- Subject: [Bug c++/12874] [Regression] cannot declare throw (Exception) in class Exception itself
- References: <20031102025000.12874.rmerkert@alphatech.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12874
------- Additional Comments From gdr at integrable-solutions dot net 2003-11-04 10:54 -------
Subject: Re: New: cannot declare throw (Exception) in class exception class itself
"rmerkert at alphatech dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| The following code does not compile with either 3.3.2 or 3.4
It is NOT a bug. It is standard standard mandated behaviour: a class
is considered incomplete while being defined and throw specifications
require complete types.
-- Gaby