public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/824
@ 2001-04-01  0:00 rodrigc
  0 siblings, 0 replies; only message in thread
From: rodrigc @ 2001-04-01  0:00 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/824; it has been noted by GNATS.

From: rodrigc@gcc.gnu.org
To: arne.sorli@kongsberg.frisurf.no, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/824
Date: 11 Mar 2001 17:21:34 -0000

 Synopsis: Simple Exception-prog seg.faults
 
 State-Changed-From-To: open->closed
 State-Changed-By: rodrigc
 State-Changed-When: Sun Mar 11 09:21:34 2001
 State-Changed-Why:
     Fixed in gcc 3.0 Branch.
     
     Your testcase requires a few changes to compile in gcc 3.0:
     
     (1) #include <iostream> instead of #include <iostream.h>
     (2) Add using namespace std;
     (3) Your destructor for Exception0() must state in its
         exception specification list that it does not throw
         any exceptions, since it inherits from std::exception.
         The exception specification list for std::exception's
         destructor states that it does not throw any exceptions:
      virtual ~Exception0() throw () {};       
     
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=824&database=gcc


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-01  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-01  0:00 c++/824 rodrigc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).