• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Obj-C question: protocol usage and inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Obj-C question: protocol usage and inheritance (From: Normand Rivard <email@hidden>)

  • Prev by Date: Re: NSButton Colour?
  • Next by Date: ANN: Learning Cocoa with Objective-C, 2nd Edition
  • Previous by thread: Re: Obj-C question: protocol usage and inheritance
  • Next by thread: Re: Obj-C question: protocol usage and inheritance
  • Index(es):
    • Date
    • Thread