Removing -frwitable-strings
Mark Mitchell
mark@codesourcery.com
Thu Dec 18 21:04:00 GMT 2003
On Thu, 2003-12-18 at 10:57, Jamie Lokier wrote:
> Someone said that -fwritable-strings could be implemented in the front
> end, but currently it isn't and that adds unwanted code to
> the back end.
>
> Perhaps it's quite a simple change to make string constants have type
> "char[]" in the C and C++ front ends instead of "const char[]"? (No,
> I'm not volunteering).
It ain't that easy, sadly.
--
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC
More information about the Gcc
mailing list