• 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 type deprecated in 64-bit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BOOL type deprecated in 64-bit?


  • Subject: Re: BOOL type deprecated in 64-bit?
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Tue, 17 Feb 2009 01:29:07 +0100


Le 17 févr. 09 à 00:48, João Varela a écrit :


On 2009/02/16, at 22:37, Chris Espinosa wrote:

On Feb 16, 2009, at 1:44 PM, João Varela wrote:

I normally use Xcode with the Research Assistant on, and by chance I touched on a declaration containing a BOOL value and for my surprise the Research Assistant states that such a basic data type is NOT supported in 64-bit targets. Is this true???? Or is this a RA's / documentation bug? I tried to verify this information in the 64-bit transition guides but AFAICT they do not mention BOOL at all. If this true, which data type should we use instead?

JV <- completely, utterly flabbergasted.

PS - I am using Xcode 3.1.2 on Mac OS X 10.5.6 (Intel) using the latest documentation update.

I'm not sure where you got that notion.  

objc.h reads:

typedef signed char BOOL; 

Which is somewhat unambiguous, and it isn't wrapped in any conditionals.

Yes, I saw that, but I tend to believe the documentation too. :)


If you could grab a screen shot of where Research Assistant is telling you that BOOL itself is not supported in 64-bit targets, please file a bug against the documentation.  

Chris

Done: rdar://6592129

JV

PS - For a moment I thought I had to remove all the BOOL's in my code to compile for 64-bit targets. 

Even if BOOL was not available, typedef a BOOL in a prefix header would be enough to continue to use it seamlessly.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >BOOL type deprecated in 64-bit? (From: João Varela <email@hidden>)
 >Re: BOOL type deprecated in 64-bit? (From: Chris Espinosa <email@hidden>)
 >Re: BOOL type deprecated in 64-bit? (From: João Varela <email@hidden>)

  • Prev by Date: Re: All apps crashing, but only in gdb
  • Next by Date: Re: BOOL type deprecated in 64-bit?
  • Previous by thread: Re: BOOL type deprecated in 64-bit?
  • Next by thread: Suddenly lost connection to images
  • Index(es):
    • Date
    • Thread