This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]