[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/29607] code fails to build with 4.1 20061020, which built with 20060901




------- 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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: