This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/9098: error: expected unqualified-id
- From: ritzert at t-online dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 29 Dec 2002 21:01:41 -0000
- Subject: c++/9098: error: expected unqualified-id
- Reply-to: ritzert at t-online dot de
>Number: 9098
>Category: c++
>Synopsis: error: expected unqualified-id
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Sun Dec 29 13:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Michael Ritzert
>Release: gcc version 3.4 20021229
>Organization:
>Environment:
i386-unknown-freebsd4.5/
i686-pc-linux-gnu
>Description:
The following snippet is taken from STLport:
template <class baz>
struct bar
{
typedef typename baz::rebind<int> foo;
};
Compilation fails with
x.cpp:4: error: expected unqualified-id
>How-To-Repeat:
c++ -c x.cpp
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: