[Python-Dev] building with -Wwrite-strings (original) (raw)

Lisandro Dalcin dalcinl at gmail.com
Fri Sep 28 00🔞09 CEST 2007


I'm trying to build Python (2.6) with GCC the option -Wwrite-strings.

1 - Is there any interest on this?

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

I was able to remove all the warning in Objects/*, except those related to (2).

-- Lisandro DalcĂ­n

Centro Internacional de MĂ©todos Computacionales en IngenierĂ­a (CIMEC) Instituto de Desarrollo TecnolĂłgico para la Industria QuĂ­mica (INTEC) Consejo Nacional de Investigaciones CientĂ­ficas y TĂ©cnicas (CONICET) PTLC - GĂŒemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594



More information about the Python-Dev mailing list