• 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: C Assert in BSD Static Library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: C Assert in BSD Static Library
      • From: "Raglan T. Tiger" <email@hidden>
References: 
 >C Assert in BSD Static Library (From: "Raglan T. Tiger" <email@hidden>)
 >Re: C Assert in BSD Static Library (From: Greg Parker <email@hidden>)
 >Re: C Assert in BSD Static Library (From: "Raglan T. Tiger" <email@hidden>)

  • Prev by Date: Re: iOS - Proper way to check UIEvent or UInternalEvent
  • Next by Date: Re: C Assert in BSD Static Library
  • Previous by thread: Re: C Assert in BSD Static Library
  • Next by thread: Re: C Assert in BSD Static Library
  • Index(es):
    • Date
    • Thread