This is the mail archive of the gcc-patches@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: A warning option for confusing overload resolution


>>>>> Andi Kleen <ak@muc.de> writes:

> I would consider this a bug in egcs. 

> Here is a small test case to show it:

> class X {}; 
> void (*fptr)(X *); 

> f(X &x)
> {
> 	fptr(&x); 
> }

This testcase compiles fine with the current CVS sources.

Jason


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