Re: __attribute__((used)) not working in Xcode 3?
Re: __attribute__((used)) not working in Xcode 3?
- Subject: Re: __attribute__((used)) not working in Xcode 3?
- From: Peter O'Gorman <email@hidden>
- Date: Sun, 02 Dec 2007 01:35:23 -0600
B.J. Buchalter wrote:
> Hi Peter,
>
>>>
>>> This is obviously supposed to work (from the documentation). Any idea of
>>> what I am doing wrong here?
> void func(void);
> __attribute__((used)) void func(void) {}
>
> is accepted, and does work (the function is actually marked with
> no_dead_strip).
Ah! Ok, glad it is solved.
Peter
--
Peter O'Gorman
http://pogma.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