c++/279: g++ internal compiler error w/test case
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Sat Nov 10 08:04:00 GMT 2001
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
More information about the Gcc-bugs
mailing list