hi!
i'm having a strange warning here. the following code works fine:
operators = [[NSMutableArray alloc] init];
Add * test = [Add alloc];
[operators addObject:[test initOperatorType:OPERATOR_TYPE
priority:ADDITIVE_OPERATOR_PRIORITY symbol:@[EMAIL PROTECTED]
"+"]];
on the other hand if i merge the last two lines like this:
[operators addObject:[[Add alloc] initOperatorType:OPERATOR_TYPE
priority:ADDITIVE_OPERATOR_PRIORITY symbol:@[EMAIL PROTECTED]
"+"]];
i get a warning: passing argument 1 of 'addObject:' from incompatible
pointer type
anyone a guess?