• 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
compiler warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiler warning


  • Subject: compiler warning
  • From: Chuck Soper <email@hidden>
  • Date: Mon, 4 Aug 2003 23:55:01 -0700

I'm getting an "initialization discards qualifiers from pointer target type" warning for this line of code:
NSPointArray myPoints = [myMutableData bytes];

If I send mutableBytes to my NSMutableData object then I don't get a warning. Either way my application runs fine.

How can I avoid the warning from being generated? Thanks.
Chuck
_______________________________________________
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.

  • Follow-Ups:
    • Re: compiler warning
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: Question about line breaks and file types
  • Next by Date: NSDocumentController and multiple document types
  • Previous by thread: Java in Panther
  • Next by thread: Re: compiler warning
  • Index(es):
    • Date
    • Thread