This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFI]: getting objc to grok attributes ??
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: nicola at brainstorm dot co dot uk
- Cc: gcc at gcc dot gnu dot org, gnustep-dev at gnu dot org, jsm28 at cam dot ac dot uk, ovidiu at cup dot hp dot com, shebs at apple dot com
- Date: Fri, 21 Jun 2002 10:09:24 -0400 (EDT)
- Subject: Re: [RFI]: getting objc to grok attributes ??
- References: <Pine.LNX.4.21.0206211133170.23288-100000@nicola.brainstorm.co.uk>
> From: Nicola Pero <nicola@brainstorm.co.uk>
>
> My feeling is that the C++ syntax would not work, as explained above, and
> I don't like the idea of changing the ObjC syntax, particularly if that
> requires introducing exceptional cases which complicate it.
Agreed. (Thanks for taking the time to think about the issue.)
So IMHO the "right" solution would be to get attribute `unused'
working on objc method parameters as it does in gcc/g++ code.
I've "scratched my itch", namely the warnings in libobjc, without
having to implement that. So if someone else wants to run with it,
feel free. :-) Perhaps I'll open a PR to that effect.
--Kaveh
--
Kaveh R. Ghazi Director of Systems Architecture
ghazi@caip.rutgers.edu Qwest Solutions