This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]