This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1556: parse error when accessing global typenames in template argument
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1556: parse error when accessing global typenames in template argument
- From: robt at flyingpig dot com
- Date: 5 Jan 2001 10:19:38 -0000
- Reply-To: robt at flyingpig dot com
>Number: 1556
>Category: c++
>Synopsis: parse error when accessing global typenames in template argument
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 05 02:26:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: robt@flyingpig.com
>Release: 2.97 20001216
>Organization:
>Environment:
--enable-shared --enable-threads --enable-long-long
>Description:
class Bla
{};
template <class T>
class Template
{};
namespace Foo
{
Template<::Bla> tmp;
};
gives syntax error on line 10. it shouldn't.
>How-To-Repeat:
compile above piece of code.
>Fix:
none found
>Release-Note:
>Audit-Trail:
>Unformatted: