[Bug c++/12874] [Regression] cannot declare throw (Exception) in class Exception itself

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Tue Nov 4 10:55:00 GMT 2003


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



More information about the Gcc-bugs mailing list