From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 437 invoked by alias); 21 Nov 2001 11:33:52 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 391 invoked by uid 61); 21 Nov 2001 11:33:52 -0000 Date: Fri, 16 Nov 2001 21:26:00 -0000 Message-ID: <20011121113352.390.qmail@sourceware.cygnus.com> To: dennis@funkplanet.com, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, martin@loewis.home.cs.tu-berlin.de, nobody@gcc.gnu.org From: nathan@gcc.gnu.org X-Mailer: gnatsweb 2.9.2 Subject: Re: c++/279: g++ internal compiler error w/test case X-SW-Source: 2001-11/txt/msg00404.txt.bz2 List-Id: 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