Re: Why are BOOL and bool distinct types?
Re: Why are BOOL and bool distinct types?
- Subject: Re: Why are BOOL and bool distinct types?
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 8 Jun 2005 08:27:00 -0700
On Jun 8, 2005, at 7:54 AM, Todd Blanchard wrote:
That sounds like a fairly stupid decision by the compiler writers.
Since Apple maintains the ObjectiveC part of the compiler and
contributes fixes, I'd think this would be something they could see
fixed up, then change the typedef.
Thus rendering binaries incompatible when mixing binaries compiled
before/after the change.
Objective-C is dynamic and many mechanisms in the Foundation -- DO,
KVO, KVC, etc.. -- and third party tools like PyObjC depend on the
size of a bool remaining a constant 8 bits. Changing it would cause
massive breakage.
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden