Re: inline, optimize, and call stack visibility?
Re: inline, optimize, and call stack visibility?
- Subject: Re: inline, optimize, and call stack visibility?
- From: Wim Lewis <email@hidden>
- Date: Tue, 25 Jan 2011 17:56:06 -0800
On 25 Jan 2011, at 4:43 PM, David M. Cotter wrote:
> sorry, how do i do that? is there a setting in the XCode build configuration GUI for that? or is is a per function tag like a pragma?
It's a compiler command line option, so it applies to an entire source file at a time. IIRC you can either add it to "Other C Flags" in the project or target settings window, or to a single file in a build phase in that file's settings window.
> if there is no performance penalty then i do not mind applying it to the entire project.
It'll have a performance penalty, but an extremely small one, unless you're doing a lot of tail recursion or something. I wouldn't worry about it.
_______________________________________________
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