[PyQt] Help understanding a backtrace

Phil Thompson phil at riverbankcomputing.com
Sat Jan 28 10:36:45 GMT 2012


On Sat, 28 Jan 2012 13:07:42 +0530, Kovid Goyal <kovid at kovidgoyal.net>
wrote:
> On Thu, Jan 26, 2012 at 03:15:31PM +0000, Phil Thompson wrote:
>> Then can you try the following change to add_object() in objmap.c...
>> 
>>         if (!(val->flags & SIP_SHARE_MAP))
>> 
>> ...to...
>> 
>>         if (!(val->flags & (SIP_SHARE_MAP | SIP_ALIAS)))
>> 
>> ...to see if it helps.
> 
> I was unable to do this. First, there is no add_object() in objmap.c,
> instead
> there is sipOMAddObject(). Also, SIP_ALIAS is undeclared, grepping the
SIP
> source code for SIP_ALIAS returns no matches, and making that change and
> compiling gives:
> 
> objmap.c: In function ‘sipOMAddObject’:
> objmap.c:172:46: error: ‘SIP_ALIAS’ undeclared (first use in this
> function)

Apply these changes to the current version of SIP.

Phil


More information about the PyQt mailing list