* GCC 3.3 bug: 'friend class ::D<int>' does not parse unless the "::" is removed
@ 2006-05-30 14:25 Yuval Kfir
0 siblings, 0 replies; only message in thread
From: Yuval Kfir @ 2006-05-30 14:25 UTC (permalink / raw)
To: gcc-help
Hi,
I'm looking for a specific patch for a problem that was present in GCC
3.2 and 3.3, and is fixed in GCC 3.4, but I cannot find a matching fix
report in the bugzilla database.
My sample is:
/****/
template <class T> class D {};
class E : public D<int> { friend class ::D<int>; };
/****/
This reports "parse error before `;' token", unless the :: qualifier is
removed.
This is almost identical to bug #8932 in the Bugzilla database. That bug
was rejected, but the code _does_ parse correctly with GCC 3.4, so
obviously something _was_ fixed. My question is, how can I find what
the fix was?
Much obliged,
- Yuval
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-30 14:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-30 14:25 GCC 3.3 bug: 'friend class ::D<int>' does not parse unless the "::" is removed Yuval Kfir
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).