[PATCH] Adjust testsuite and rope for "Deprecated implicittypename"

Paolo Carlini pcarlini@unitus.it
Thu Dec 13 00:51:00 GMT 2001


Jason Merrill wrote:

> >>>>> "Paolo" == Paolo Carlini <pcarlini@unitus.it> writes:
>
> >      _Rope_iterator& operator= (const _Rope_iterator& __x) {
> > -        _RopeRep* __old = _M_root;
> > +        typename
> > +   _Rope_iterator_base<_CharT,_Alloc>::_RopeRep* __old = _M_root;
>
> This could just be
>
>   typename _Rope_iterator::_RopeRep*
>
> but there are other uses of _RopeRep that aren't currently warned about,
> but that will also break with the new parser.  You probably want to make it
> a local typedef.

Thanks. I will prepare a fix for this ASAP.

Cheers,
Paolo.




More information about the Libstdc++ mailing list