Re: __attribute__ in Objective-C
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