[RFI]: getting objc to grok attributes ??

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Fri Jun 21 10:08:00 GMT 2002


 > 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



More information about the Gcc mailing list