A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-September/074782.html below:

[Python-Dev] building with -Wwrite-strings

[Python-Dev] building with -Wwrite-strings [Python-Dev] building with -Wwrite-strings"Martin v. Löwis" martin at v.loewis.de
Fri Sep 28 23:09:54 CEST 2007
> I'm trying to build Python (2.6) with GCC the option -Wwrite-strings.
> 
> 1 - Is there any interest on this?

It might be nice to have, but will certainly come at a cost. So feel
free to try this out; at the end, we might agree that this change is
too intrusive.

> 2 - What should I do for the very common (taken from int_new):
>    static char *kwlist[] = {"x", "base", 0};

What's wrong with

static const char *kwlist[] = {"x", "base", 0};

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4