[PyQt] Help understanding a backtrace

Kovid Goyal kovid at kovidgoyal.net
Sat Jan 28 07:37:42 GMT 2012


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)
 
Kovid.

-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120128/25787858/attachment.pgp>


More information about the PyQt mailing list