discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New warnings (hopefully) in gcc 3.4


From: David Ayers
Subject: Re: New warnings (hopefully) in gcc 3.4
Date: Wed, 03 Sep 2003 12:20:06 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507

Nicola Pero wrote:

[...] The @encode mechanism would still not recognize that -(id)method:(NSSize)aSize and -(id)method:(NSPoint)aPoint are equivalent.

Hmmm.  Are they really equivalent ?  The argument types seem to be quite
different.
Alex has just convinced me also.  :-)

My point was, "it used to work and now it wouldn't" (well the example was bad, I meant:
-(NSSize)method and -(NSPoint)method )

But yes, I could live w/o this. I'm just thinking the IMP assumption must always be incorrect, even if it may work in many cases.

Cheers,
David







reply via email to

[Prev in Thread] Current Thread [Next in Thread]