c++/9973: parse error with legal code
scmvs@cs.cf.ac.uk
scmvs@cs.cf.ac.uk
Thu Mar 6 02:46:00 GMT 2003
>Number: 9973
>Category: c++
>Synopsis: parse error with legal code
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Thu Mar 06 02:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: scmvs@cs.cf.ac.uk
>Release: g++ (GCC) 3.2 (mingw special 20020817-1)
>Organization:
>Environment:
Win2K
>Description:
code
========
struct B {
template<class Q> void foo(Q x) { x.apply<int>(); }
};
========
produces
0.cpp: In member function `void B::foo(Q)':
0.cpp:13: parse error before `;' token
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-prs
mailing list