[pygtk] pygobject header problem
John Hunter
jdhunter at ace.bsd.uchicago.edu
Wed Oct 13 22:19:10 WST 2004
>>>>> "Gustavo" == Gustavo J A M Carneiro <gjc at inescporto.pt> writes:
Gustavo> Qua, 2004-10-13 às 08:04 -0500, John Hunter escreveu:
>> Several users have reported a problem compiling matplotlib with
>> pygtk-2.4 and recent versions of gcc. It does not appear to be
>> a matplotlib problem, and we've isolated a simple bit of c++
>> code (included below) that contains only standard c++ headers
>> and a pygobject include, that exposes the problem.
>>
>> I'll be glad to post a bugzilla report if this is indeed a bug.
>> I thought it would be worthwhile to get some feedback here
>> first.
Gustavo> I notice that pygobject.h doesn't have
Gustavo> G_BEGIN_DECLS/G_END_DECLS. Maybe it would help.
Where should that be placed in the code? I don't have a platform to
test this on, but the person who reported the problem may. I CCd him
on this email.
BTW, he filed a bugzilla report
http://bugzilla.gnome.org/show_bug.cgi?id=155304
Thanks!
JDH
More information about the pygtk
mailing list