This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/279: g++ internal compiler error w/test case
- From: nathan at gcc dot gnu dot org
- To: dennis at funkplanet dot com, gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, martin at loewis dot home dot cs dot tu-berlin dot de, nobody at gcc dot gnu dot org
- Date: 21 Nov 2001 11:33:52 -0000
- Subject: Re: c++/279: g++ internal compiler error w/test case
[Get raw message]
Synopsis: g++ internal compiler error w/test case
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Wed Nov 21 03:33:51 2001
State-Changed-Why:
this is fixed on the mainline, which reports,
nathan@uha:188>./cc1plus -ansi -pedantic -quiet incomming/279.ii
incomming/279.ii:19: warning: ISO C++ forbids declaration of `operator[]' with
no type
incomming/279.ii:19: `const int& operator[](int)' must be a nonstatic member
function
incomming/279.ii:19: `const int& operator[](int)' must take exactly two
arguments
incomming/279.ii: In function `const int& operator[](int)':
incomming/279.ii:20: `_foo' undeclared (first use this function)
incomming/279.ii:20: (Each undeclared identifier is reported only once for each
function it appears in.)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=279&database=gcc