Re: c++/10867: Internal compiler error with constant enum

Wolfgang Bangerth <[email protected]>
Newsgroups gmane.comp.gcc.prs
Message-ID <[email protected]>
The following reply was made to PR c++/10867; it has been noted by GNATS.

From: Wolfgang Bangerth <[email protected]>
To: Giovanni Bajo <[email protected]>
Cc: [email protected], <[email protected]>, <[email protected]>
Subject: Re: c++/10867: Internal compiler error with constant enum
Date: Tue, 20 May 2003 08:15:38 -0500 (CDT)

 > > Confirmed. Fixed in 3.3, though, and broken again in 3.4.
 > > However, it's a duplicate of a number of other reports, so
 > > I close it.
 > 
 > Which PR is this duplicate of? I can't find it.
 
 This is the 
 
 struct X {
   static int f();
   static const int i = sizeof(f);
 };
 
 problem, PR 9259 for example.
 
 W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:            [email protected]
                                www: http://www.ices.utexas.edu/~bangerth/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.