This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29607] code fails to build with 4.1 20061020, which built with 20060901
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2006 20:07:21 -0000
- Subject: [Bug c++/29607] code fails to build with 4.1 20061020, which built with 20060901
- References: <bug-29607-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-26 20:07 -------
Reduced:
class WvLink{};
class WvVectorBase
{
class IterBase
{
WvLink *cur() const{}
};
};
template<class T>
class WvVector : public WvVectorBase
{
class Iter : public WvVector::IterBase
{
T *ptr() const
{
return static_cast<T *>(cur()->data);
}
};
};
-----
This comes to is WvVector dependent in the the context of WvVector::IterBase.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|3.1.2 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29607