• 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 11:30:08 -0600

On Jun 23, 2015, at 11:14 AM, Raglan T. Tiger <email@hidden> wrote:
>
> Are these set in the Library project or the App project that links to them?

It'll have to be the library; the app project has no influence over what is compiled into the library.

As a guess, you might want to define NDEBUG=1. That is *very* common practice for release builds on many platforms, but IIRC Xcode doesn't include that in default templates.

But of course, you should probably actually look into these asserts and see how they're defined. I think the standard-lib assert is turned off by NDEBUG, but people build up all sorts of ASSERT macros of their own, with all sorts of config options...

--
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


References: 
 >C Assert in BSD Static Library (From: "Raglan T. Tiger" <email@hidden>)

  • Prev by Date: C Assert in BSD Static Library
  • Next by Date: Re: C Assert in BSD Static Library
  • Previous by thread: C Assert in BSD Static Library
  • Next by thread: Re: C Assert in BSD Static Library
  • Index(es):
    • Date
    • Thread