• 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: invalid code compiling in Xcode 2.2, but only in one project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: invalid code compiling in Xcode 2.2, but only in one project


  • Subject: Re: invalid code compiling in Xcode 2.2, but only in one project
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 6 Dec 2005 10:51:12 -0500
  • Organization: Rogue Research

On 2005-12-05 16:30, Corey O'Connor said:

>My bet it's this option: -fwritable-strings This places string
>constants in a writable section. So instead of "" being const it's
>mutable and passing it to a function that takes a non-const pointer is
>OK.

Right you are Corey, thanks!  I don't know how the "Make strings read
only" flag got turned off in my project, but putting it back on
(default) fixed things.

Now I'm not a language lawyer, but if something is syntactically
invalid, then shouldn't it be invalid whether or not I want my strings
read only?

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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: invalid code compiling in Xcode 2.2, but only in one project
      • From: Alexey Zakhlestin <email@hidden>
References: 
 >invalid code compiling in Xcode 2.2, but only in one project (From: "Sean McBride" <email@hidden>)
 >Re: invalid code compiling in Xcode 2.2, but only in one project (From: "Corey O'Connor" <email@hidden>)

  • Prev by Date: Re: Custom build products location
  • Next by Date: Re: Custom build products location
  • Previous by thread: Re: invalid code compiling in Xcode 2.2, but only in one project
  • Next by thread: Re: invalid code compiling in Xcode 2.2, but only in one project
  • Index(es):
    • Date
    • Thread