This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pointer to member/overload resolution confusion


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]