C++ pointer to member regression (?)
Andrew Pinski
pinskia@physics.uc.edu
Tue Jun 8 23:35:00 GMT 2004
>
> On Tuesday, June 8, 2004, at 06:53 AM, Martin Reinecke wrote:
> > fptr ptr = &foo::f1;
>
> > pmemb.cc:11: error: invalid use of ' foo::f1' to form a
> > pointer-to-member-function. Use a qualified-id.
>
> > If there is agreement that this is a bug, I'll file it in Bugzilla.
>
> Looks like a bug...
I already filed it as PR 15875.
I had forgot to write this in as I had deleted the orginal email already.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list