• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: BOOL problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: Problem with NSMutableDictionary
  • Next by Date: Re: BOOL problem
  • Previous by thread: BOOL problem
  • Next by thread: Re: BOOL problem
  • Index(es):
    • Date
    • Thread