pointer to member/overload resolution confusion
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Fri Apr 30 23:15:00 GMT 1999
> The same bug shows up on solaris with egcs-1.1.2.
>
> The bug was not present in 1.0.3.
Thanks for your report. The bug is fixed in the current development
snapshots (tested with egcs-2.93.18), so it will likely be fixed in
1.2 (whenever that is released). To work around the bug in 1.1.2,
please write
> void A::goo()
> {
> foo(A::fnc) ;
> }
Hope this helps,
Martin
More information about the Gcc-bugs
mailing list