Re: C Assert in BSD Static Library
Re: C Assert in BSD Static Library
- Subject: Re: C Assert in BSD Static Library
- From: Scott Ribe <email@hidden>
- Date: Tue, 23 Jun 2015 17:48:10 -0600
On Jun 23, 2015, at 5:35 PM, Raglan T. Tiger <email@hidden> wrote:
>
> I have added NDEBUG=1 in the project release configurationpre-processor macro definitions per results here.
Just to be clear, =1 is actually not necessary. The standard is that if NDEBUG is defined, assert is turned off. It's just my personal style, that I refuse to define it to anything other than 1, because why should I have to remember that NDEBUG=0 also turns it *on*? As does NDEBUG?
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice
_______________________________________________
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