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++/6178: Specific syntax mistake causes "Internal compiler error"


Synopsis: Specific syntax mistake causes "Internal compiler error"

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Apr  7 18:45:00 2002
State-Changed-Why:
    gcc 3.0.4 produces this error on your code:
    
    foo.cpp: In function `int main()':
    foo.cpp:29: invalid use of template `template<class T> class foo' as expression
    foo.cpp:29: parse error before `::' token

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6178


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