Re: Obj-C question: protocol usage and inheritance
Re: Obj-C question: protocol usage and inheritance
- Subject: Re: Obj-C question: protocol usage and inheritance
- From: Normand Rivard <email@hidden>
- Date: Tue, 17 Sep 2002 22:42:47 -0400
Thank you, Ondra.
Although I can't say that I fully understood your code snippet, I think
I got the idea about the dynamic nature of protocol conformance and the
convenience warning. However, I still think that the compiler could be a
little more clever just by analyzing my class declarations. Of course,
now I realize that in general it cannot be fool-proof.
By the way, Nicola: I searched the entire Apple GCC Documentation about
that -Wno-protocol flag and couldn't find anything about it. There is a
page that talks about warning suppression, but it doesn't say a word
about protocols. I tried the flag and it worked fine (except that I
don't like the idea of turning off warnings, but c'est la vie). How did
you know about it?
Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.