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: Andrew Pinski <email@hidden>
- Date: Tue, 17 Sep 2002 20:31:16 -0700
Look for instead -Wprotocol as most Warnings that can be
turned on separately can be turned off by using the `no-' right after
the `-W'
Thanks,
Andrew Pinski
On Tuesday, Sep 17, 2002, at 19:42 US/Pacific, Normand Rivard wrote:
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.
_______________________________________________
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.