Re: [wxPython] wx.cpp compile fails with src/gtk/wx.cpp:61: warning: `struct PyObject * t_output_helper(PyObject *, PyObject *)' defined but not used


Subject: Re: [wxPython] wx.cpp compile fails with src/gtk/wx.cpp:61: warning: `struct PyObject * t_output_helper(PyObject *, PyObject *)' defined but not used
From: Robin Dunn (robin@alldunn.com)
Date: Thu Sep 20 2001 - 19:46:23 MDT


> I've just built wxGTK-2.3.1 and now its time for something completely....
>
> except it won't build. wink wink nudge nudge...
> You've built it haven't you? ... What's it like?
>
> The problem compile is:
>
> copying wxPsrc/gtk/wx.cpp: In function `struct PyObject * ptrset(PyObject
*,
> PyObject *, int, char *)':
> src/gtk/wx.cpp:381: warning: unused variable `struct PyObject * obj'
> src/gtk/wx.cpp: In function `struct PyObject * ptradd(PyObject *, int)':
> src/gtk/wx.cpp:467: warning: `struct PyObject * obj' might be used
> uninitialized in this function
> src/gtk/wx.cpp: In function `void initwxc(...)':
> src/gtk/wx.cpp:1886: `wxFRAME_NO_TASKBAR' undeclared (first use this
function)
> src/gtk/wx.cpp:1886: (Each undeclared identifier is reported only once
> src/gtk/wx.cpp:1886: for each function it appears in.)
> src/gtk/wx.cpp:1887: `wxFRAME_EX_CONTEXTHELP' undeclared (first use this
> function)
> src/gtk/wx.cpp:1914: `wxADJUST_MINSIZE' undeclared (first use this
function)
> src/gtk/wx.cpp:1985: `wxLC_HRULES' undeclared (first use this function)
> src/gtk/wx.cpp:1986: `wxLC_VRULES' undeclared (first use this function)
> src/gtk/wx.cpp:2091: `wxCHANGE_DIR' undeclared (first use this function)
> src/gtk/wx.cpp:2319: `wxCURSOR_ARROWWAIT' undeclared (first use this
function)
> src/gtk/wx.cpp:2419: `wxEVT_MOUSEWHEEL' undeclared (first use this
function)
> src/gtk/wx.cpp:2500: `wxEVT_HELP' undeclared (first use this function)
> src/gtk/wx.cpp:2501: `wxEVT_DETAILED_HELP' undeclared (first use this
> function)

These errors indicate that you are building wxPython 2.3.x with wxGTK 2.2.x,
they need to be the same. You said above that you built wxGTK 2.3.1, if you
did then you must not have installed it, or there is a conflict in some
other way with wxGTK 2.2.x

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



This archive was generated by hypermail 2a24 : Thu Sep 20 2001 - 18:56:55 MDT