Problem in g++ ?

Jonathan Wakely jwakely.gcc@gmail.com
Thu Apr 30 09:06:00 GMT 2015


On 30 April 2015 at 06:45, Roger Ferrer Ibáñez wrote:
> Hi,
>
> I do not know whether this is a bug in g++.
>
> As a workaround changing this
>
>     class X<A2>::Data : public X<A2>::Base<B1, C1>
>
> into this
>
>     class X<A2>::Data : public X<A2>::template Base<B1, C1>
>
> works for me.

That shouldn't be required in this context, so I've reported a bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65943



More information about the Gcc-help mailing list