• 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: __attribute__((used)) not working in Xcode 3?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >__attribute__((used)) not working in Xcode 3? (From: "B.J. Buchalter" <email@hidden>)
 >Re: __attribute__((used)) not working in Xcode 3? (From: Peter O'Gorman <email@hidden>)
 >Re: __attribute__((used)) not working in Xcode 3? (From: "B.J. Buchalter" <email@hidden>)

  • Prev by Date: Re: __attribute__((used)) not working in Xcode 3?
  • Next by Date: remembering cursor position
  • Previous by thread: Re: __attribute__((used)) not working in Xcode 3?
  • Next by thread: remembering cursor position
  • Index(es):
    • Date
    • Thread