• 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: Link fails for test but not app build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link fails for test but not app build


  • Subject: Re: Link fails for test but not app build
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 02 Jul 2013 18:00:25 -0600

On Jul 2, 2013, at 5:48 PM, Rick Mann <email@hidden> wrote:

> Fascinating. That makes a difference. But only in the Test target. The application target works fine with plain "inline."
>
> Is that documented anywhere?

I don't think so. I've just found that, when using GCC or LLVM, for some reason, using "__inline__" to mark an inline function is a lot less problematic than using "inline" when building C or ObjC code.

> Should I use that, or NS_INLINE (which adds "always_inline")?

The difference is, "always_inline" enables inlining the function when optimization is turned off. If you want that behavior, then by all means, use NS_INLINE instead.

Nick Zitzmann
<http://www.chronosnet.com/>


 _______________________________________________
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


References: 
 >Link fails for test but not app build (From: Rick Mann <email@hidden>)
 >Re: Link fails for test but not app build (From: Nick Zitzmann <email@hidden>)
 >Re: Link fails for test but not app build (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Link fails for test but not app build
  • Next by Date: Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
  • Previous by thread: Re: Link fails for test but not app build
  • Next by thread: Re: Sandboxing of an Apple Script Studio application
  • Index(es):
    • Date
    • Thread