• 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: CFBridgingRetain and Xcode 7's -Wcast-qual
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFBridgingRetain and Xcode 7's -Wcast-qual


  • Subject: Re: CFBridgingRetain and Xcode 7's -Wcast-qual
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 12 Jun 2015 13:38:02 -0700


On Jun 12, 2015, at 12:30 PM, Sean McBride <email@hidden> wrote:

But now it warns: "Cast from 'const void *' to 'void *' drops const qualifier" because IOServiceAddMatchingNotification wants a void* but CFBridgingRetain returns a const void*.

Any clever solutions here?

(void*)CFBridgingRetain(self)

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CFBridgingRetain and Xcode 7's -Wcast-qual
      • From: Sean McBride <email@hidden>
    • Re: CFBridgingRetain and Xcode 7's -Wcast-qual
      • From: Quincey Morris <email@hidden>
References: 
 >CFBridgingRetain and Xcode 7's -Wcast-qual (From: Sean McBride <email@hidden>)

  • Prev by Date: import autocomplete not working since upgrade to 6.3
  • Next by Date: Re: CFBridgingRetain and Xcode 7's -Wcast-qual
  • Previous by thread: CFBridgingRetain and Xcode 7's -Wcast-qual
  • Next by thread: Re: CFBridgingRetain and Xcode 7's -Wcast-qual
  • Index(es):
    • Date
    • Thread