Citando Nicola Pero <[EMAIL PROTECTED]>:
> If anyone has any brilliant idea on how to remove the warning, it's
> appreciated.
This is something I never understood.
In the code below:
#include <Foundation/NSObject.h>
@interface X : NSObject
+ (int)a;
@end
@interface Y : NSObject
+ (float)a;
@end
int main()
{
int v;
v = [X a];
}
Why, when compiling the last line the compiler does not know that X
can only answer to one of the two +a messages? What is the type of
X when this is being compiled?
Benhur
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep