• 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
-fwritable-strings not compatible with literal CF/NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-fwritable-strings not compatible with literal CF/NSString


  • Subject: -fwritable-strings not compatible with literal CF/NSString
  • From: email@hidden
  • Date: Fri, 2 Oct 2009 11:20:42 EDT

Hi All,

Ever since I updated a couple of old projects to the version of Xcode that ships with Snow Leopard, it's been throwing this error message when it encounters the CFSTR() macro.

What exactly is this trying to tell me? Is this a 'new' incompatibility, or one the Xcode has just now realized it should remind me of? I'm not actually modifying any strings created with this macro, so does that mean this is a victimless crime (and if so,
how can I turn off these warnings)? Or will these now all leak memory if not CFReleased? Is there a compiler directive I can use to toggle writable strings off and on within the code, or a way to specify this option on a per-file basis?

Thanks,
-Mark
 _______________________________________________
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: -fwritable-strings not compatible with literal CF/NSString
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: IB plug-in for iphone
  • Next by Date: Re: Where can I find Debug & Profile Libraries for 10.6 ?
  • Previous by thread: Re: How to ensure that nested project targets get built ?
  • Next by thread: Re: -fwritable-strings not compatible with literal CF/NSString
  • Index(es):
    • Date
    • Thread