• 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__ in Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __attribute__ in Objective-C


  • Subject: Re: __attribute__ in Objective-C
  • From: Gregory Weston <email@hidden>
  • Date: Fri, 21 Oct 2005 17:41:13 -0400


Alexander v. Below wrote:

While Apple gcc provides the old CodeWarrior #pragma unused, I found
that it does not work well with C++ code. Consequently, I wanted to
"migrate" to __attribute__ unused in all subseqent code.
Also, the gcc documentation(2) makes the claim that " It was
basically a mistake to use #pragma for anything."

Any pointers are appreciated.

I can't help you with the C++ issue, unfortunately, but I would point out that the voiced objection to using #pragma is:
a) Intentionally presented in the past tense.
b) Not particularly supported by the justifications offered.


What's the nature of "not working well with C++ code?"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: __attribute__ in Objective-C
      • From: Alexander von Below <email@hidden>
  • Prev by Date: Re: Core Data: Dual-Inverse Relation Possible in Modeler?
  • Next by Date: [solved[ Re: Cocoa framework bug? - Checkboxes turning black on 10.4
  • Previous by thread: Re: __attribute__ in Objective-C
  • Next by thread: Re: __attribute__ in Objective-C
  • Index(es):
    • Date
    • Thread