This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Removing -frwitable-strings
- From: Michael Chamberlain <michael at chamberlain dot net dot au>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, kcook34 at ford dot com, zack at codesourcery dot com,rearnsha at arm dot com
- Date: Mon, 22 Dec 2003 18:43:41 +1100
- Subject: Re: Removing -frwitable-strings
- References: <1071628676.3793.52.camel@minax.codesourcery.com>
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.