This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFI]: getting objc to grok attributes ??


 > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]