Re: BOOL problem
Re: BOOL problem
- Subject: Re: BOOL problem
- From: Uli Kusterer <email@hidden>
- Date: Tue, 21 Aug 2007 01:14:44 +0200
On 21.08.2007, at 00:16, Daniel Child wrote:
warning: return makes integer from pointer without a cast
What is the line you're getting that error on? Either you're not
declaring the variables as the types you showed us, or you have
another variable or function of the same name that is a pointer (to
ID, or a function) that causes a collision.
Or you just forgot to include the header and the compiler does its
usual guess at the signature of your method and picks -(id)
isCandidateValid, which returns a pointer. But then you'd be getting
the error when you use the method, not in any of the declarations you
show us.
You'd save us all some guesswork if you included actual usage and
mentioned which lines the actual error messages refer to.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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
References: | |
| >BOOL problem (From: Daniel Child <email@hidden>) |