[wxPython] wxPython compile on Linux bombing out

Hello all,
  I'm trying to compile the wxPython from CVS (though, this also
happens with the latest tarball), and when I type './setup.py build' I
get:

src/gtk/wx.cpp: In function `struct PyObject * ptrset(PyObject *, PyObject *, int, char *)':
src/gtk/wx.cpp:396: warning: unused variable `struct PyObject * obj'
src/gtk/wx.cpp: In function `struct PyObject * ptradd(PyObject *, int)':
src/gtk/wx.cpp:482: warning: `struct PyObject * obj' might be used uninitialized in this function
src/gtk/wx.cpp: In function `int _wrap_wxDefaultPosition_set(PyObject *)':
src/gtk/wx.cpp:878: passing `const wxPoint' as `this' argument of `class wxPoint & wxPoint::operator =(const wxPoint &)' discards qualifiers
src/gtk/wx.cpp: In function `int _wrap_wxDefaultSize_set(PyObject *)':
src/gtk/wx.cpp:901: passing `const wxSize' as `this' argument of `class wxSize & wxSize::operator =(const wxSize &)' discards qualifiers
src/gtk/wx.cpp: At top level:
src/gtk/wx.cpp:60: warning: `struct PyObject * l_output_helper(PyObject *, PyObject *)' defined but not used
src/gtk/wx.cpp:80: warning: `struct PyObject * t_output_helper(PyObject *, PyObject *)' defined but not used
src/gtk/wx.cpp:106: warning: `char * wxStringErrorMsg' defined but not used

I looked at the lines in question, but am not proficient enough with
c++ to fix the problem (I tried explicitly casting the first operand
to `=' to (const wxPoint) but that didn't work :))

Here are the specs of my machine:
LFS linux (http://www.linuxfromscratch.org)
Linux version 2.4.0-test13-pre4
gcc version 2.95.2
Python version 2.0 (linked with g++ as the manual reads)

Merry Christmas everyone!

···

--
Sincerely,
Caleb Land

---
Email: bokonon@rochester.rr.com

AIM: RedHatDude
ICQ: 8358400

GnuPG/PGP Public Key: finger me at "caleb@deepthought.granfalloon.com"
                      and read my .plan.
---

src/gtk/wx.cpp: In function `int _wrap_wxDefaultPosition_set(PyObject *)':
src/gtk/wx.cpp:878: passing `const wxPoint' as `this' argument of `class
wxPoint & wxPoint::operator =(const wxPoint &)' discards qualifiers

I fixed this yesterday but forgot to regenerate the wxGTK version of the
sources. I've just done it so update from CVS and try again.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxPython.org Java give you jitters?
http://wxPROs.com Relax with wxPython!

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users