Folks,
I'm using pygtk0.6.6 and I had some trouble compiling
a python wrapper using pygtk.h.
In pygtk.h, line 322 has:
_PyGtk_API = PyCObject_AsVoidPtr(cobject); \
which on the SGI produces the error:
cc-1515 CC: ERROR File = <my filename>, Line = <xxx>
A value of type "void *" cannot be assigned to an entity of type
"_PyGtk_FunctionStruct *".
init_pygtk () ;
^
So I had to change the line to:
_PyGtk_API = (_PyGtk_FunctionStruct
*)PyCObject_AsVoidPtr(cobject); \
Shouldn't this be the way to do it anyway? Can this be changed in the
distribution?
Thanks.
--
Ralph E. Walden
Tripos, Inc.
[EMAIL PROTECTED]
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk