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++/7605: ICE on template instatiation


Synopsis: ICE on template instatiation

State-Changed-From-To: feedback->closed
State-Changed-By: reichelt
State-Changed-When: Fri Dec 13 05:15:18 2002
State-Changed-Why:
    Your code is still ill-formed. The line
         typedef typename Types<id>::Templated<Wrapped>::Allocator Allocator;
    is missing a "template":
         typedef typename Types<id>::template Templated<Wrapped>::Allocator Allocator;
    
    The corrected version compiles fine with gcc 3.2.1 and
    mainline. That still leaves us with an ice-on-illegal-code,.
    But since there are more reports that show the same problem,
    (see PR 8736, for example), I close this one as a duplicate.

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


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