This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: pointer to member/overload resolution confusion
- To: brennan at amc dot com
- Subject: Re: pointer to member/overload resolution confusion
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Sun, 18 Apr 1999 21:26:48 +0200
- CC: egcs-bugs at egcs dot cygnus dot com, ians at amc dot com
- References: <199904181642.JAA15291@chaos.amc.com>
> 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