[wxPython] compilation wxPython-2.1.15

During the compilation of wxPython-2.1.15 on Debian/2.2 i got an error:

g++ -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD -I. `wx-config --cflags` -I/usr/include/python1.5 -I/usr/include/python1.5 -I/usr/local/src/wxGTK/utils/wxPython/src -g -O2 -c gtk/grid.cppp
gtk/grid.cpp: In function `class wxGridCellChoiceEditor * new_wxGridCellChoiceEditor(PyObject *, bool)':
gtk/grid.cpp:2438: initialization to `const char **' from `char **' adds cv-quals without intervening `const'
make: *** [grid.o] Error 1

···

--
Uwe Hentzschel
Edelstahl Gröditz GmbH
Riesaer Str.
01609 Gröditz
                                                                        
Tel: +49-35263-62551
Fax: +49-35263-62543

During the compilation of wxPython-2.1.15 on Debian/2.2 i got an error:

g++ -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD -I. `wx-config
--cflags` -I/usr/include/python1.5 -I/usr/include/python1.5
-I/usr/local/src/wxGTK/utils/wxPython/src -g -O2 -c gtk/grid.cppp
gtk/grid.cpp: In function `class wxGridCellChoiceEditor *
new_wxGridCellChoiceEditor(PyObject *, bool)':
gtk/grid.cpp:2438: initialization to `const char **' from `char **'
adds cv-quals without intervening `const'
make: *** [grid.o] Error 1

This was just a warning for me... Your compiler must be more strict. You
can try adding -fpermissive or something like that.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com

wxPython has moved Check it out!

I'm happy !!

Thanks to you

···

On Thu, Apr 27, 2000 at 08:01:50AM -0700, Robin Dunn wrote:

> During the compilation of wxPython-2.1.15 on Debian/2.2 i got an error:
>
> g++ -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD -I. `wx-config
> --cflags` -I/usr/include/python1.5 -I/usr/include/python1.5
> -I/usr/local/src/wxGTK/utils/wxPython/src -g -O2 -c gtk/grid.cppp
> gtk/grid.cpp: In function `class wxGridCellChoiceEditor *
> new_wxGridCellChoiceEditor(PyObject *, bool)':
> gtk/grid.cpp:2438: initialization to `const char **' from `char **'
> adds cv-quals without intervening `const'
> make: *** [grid.o] Error 1

This was just a warning for me... Your compiler must be more strict. You
can try adding -fpermissive or something like that.

--
Uwe Hentzschel
Edelstahl Gröditz GmbH
Riesaer Str.
01609 Gröditz
                                                                        
Tel: +49-35263-62551
Fax: +49-35263-62543