Removing -frwitable-strings

Michael Chamberlain michael@chamberlain.net.au
Mon Dec 22 10:17:00 GMT 2003


On Tue, Dec 16, 2003 at 06:37:56PM -0800, Mark Mitchell wrote:
> Therefore, I think that we should probably just remove this option in
> GCC 3.4.  Kelley Cook has a patch for GCC 3.3.3 to deprecate this
> option, and Zack Weinberg has a (somewhat out of date) patch to remove
> -fwritable-strings from the mainline.

...

> Zack raised the idea of removing -fwritable-strings back in April, and
> nobody objected -- but we never followed through.  So, here is a final
> chance:  Does anyone object to the plan of (a) deprecating
> -fwritable-strings in GCC 3.3.3 and (b) removing it in GCC 3.4?  If so,
> why?

A potential issue with (b) is that, if I understood Kelley's patch (and
GCC's diagnostics machinery) correctly, this will cause code/build systems
using both -fwritable-strings and -Werror to break in 3.3.3, for when
3.3.2 will compile it.

Of course, this shouldn't be too hard to fix (although I'm not able to
suggest a patch, sorry), so more of a comment than an objection.

Regards,
Michael.



More information about the Gcc mailing list