Re: Any way to get a warning if a non-boolean type is used in an if expression?
Re: Any way to get a warning if a non-boolean type is used in an if expression?
- Subject: Re: Any way to get a warning if a non-boolean type is used in an if expression?
- From: Eric Wing <email@hidden>
- Date: Fri, 18 Oct 2013 10:45:22 -0700
On 10/18/13, David Duncan <email@hidden> wrote:
> On Oct 18, 2013, at 8:56 AM, Sean McBride <email@hidden> wrote:
>
>> Yes, it would work with 'bool'. Hopefully Obj-C will one day change BOOL
>> from char to bool.
>
>
> BOOL is defined as a true boolean type on 64-bit iOS.
> --
Wow! Wonderful! This was suggested in our bug reports as far back as
the Mac/Intel transition, suggesting if you couldn't make it in time
for 32-bit Intel, at least try to make it for the eventual 64-bit
transition or any new arch. That didn't happen on Mac, and it didn't
happen on any of the 32-bit iOS architectures, but I'm very happy to
hear you guys didn't give up on it.
Thanks,
Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
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