BOOL problem
BOOL problem
- Subject: BOOL problem
- From: Daniel Child <email@hidden>
- Date: Mon, 20 Aug 2007 18:16:25 -0400
Hi,
There is a surprising problem trying to use booleans in Cocoa.
I defined an instance variable as:
BOOL isSyllable;
Then I have basic methods like
- (BOOL) isCandidateValid
{
return isSyllable;
}
But when I build, I get this message:
warning: return makes integer from pointer without a cast
What's going on? I want to be able to set this ivar to YES or NO and
return that value on a regular basis. Am I missing something basic here?
Thanks.
Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden