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: Scott Ribe <email@hidden>
- Date: Fri, 18 Oct 2013 14:14:19 -0600
On Oct 18, 2013, at 9: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.
In the 32-bit world BOOL was 8 bits, and for obscure reasons bool was 32 bits, which is why it requires a big-*ss runtime change to happen...
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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