Re: invalid code compiling in Xcode 2.2, but only in one project
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