wxPython on IRIX6.5

Nick Trout nickatvideosystemdotcodotuk
Fri Oct 6 06:35:35 EDT 2000


>  CC  -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD -I.
`wx-config --cflags`
> -I/tsri/python/share/include/python1.5
> -I/tsri/python/sgi4DIRIX646/include/python1.5
> -I/mgl/prog/src/gtk/wxPython-2.2.1/src -O -OPT:Olimit=0
`gtk-config --cflags`
>  -c helpers.cpp
> "/usr/include/stdarg.h", line 119: warning(1047): macro redefined
differently
>   #define va_start(vp, parmN) (vp = ((va_list)&parmN + sizeof(parmN)))
>           ^

If you're getting a "macro redefined" warning then does this suggest you
have a path conflict? ie. va_start is defined somewhere else and the correct
definition may be the former one? The knock on effect is that nothing
compiles properly? Try swapping path precidence or removeing some paths??
Hope that helps, sorry if that's too simplistic. You get a similar kind of
thing happening if you try and compile a DirectX app with an old API.

What I wouldnt give for some of your sunny Californian weather at the
moment.... :-)
Nick



> "/usr/include/stdarg.h", line 124: warning(1047): macro redefined
differently
>   #define va_arg(vp,mode)       ((mode *)(void *)( vp = (va_list) \
>           ^
>
> "helpers.h", line 85: error(1136): too many arguments in function call
>           Py_DECREF(m_obj);
>           ^
>
> "helpers.cpp", line 136: error(1136): too many arguments in function call
>       PyObject* sysargv = PySys_GetObject("argv");
>
> "helpers.cpp", line 137: error(1136): too many arguments in function call
>       int argc = PyList_Size(sysargv);
>                              ^
>
> "helpers.cpp", line 141: error(1136): too many arguments in function call
>           argv[x] = PyString_AsString(PyList_GetItem(sysargv, x));
>                                                      ^
>
>
> and it goes on and on ! ....
> I have built many extensions for Python wrapping C and C++ code .. but I
have
> no clue what the problem is here :( HELLLLLP
>
> -michel
>
>
> --
>
> -----------------------------------------------------------------------
>
> >>>>>>>>>> AREA CODE CHANGE <<<<<<<<< we are now 858 !!!!!!!
>
> Michel F. Sanner Ph.D.                   The Scripps Research Institute
> Assistant Professor Department of Molecular Biology
>   10550 North Torrey Pines Road
> Tel. (858) 784-2341      La Jolla, CA 92037
> Fax. (858) 784-2860
> sanner at scripps.edu                        http://www.scripps.edu/sanner
> -----------------------------------------------------------------------
>
>





More information about the Python-list mailing list