[PySide] Problems building pyside 1.2.1 on AIX (shiboken problem)

Albert Chin pyside at mlists.thewrittenword.com
Fri Apr 18 05:29:45 CEST 2014


On Thu, Apr 17, 2014 at 02:33:15PM -0500, Albert Chin wrote:
> On Thu, Apr 17, 2014 at 03:07:00PM -0400, John Ehresman wrote:
> > On 4/17/14, 2:58 PM, Albert Chin wrote:
> > >> I suspect this means the "typedef unsigned int uint" isn't being
> > >> seen when shiboken scans the header files during generation on AIX
> > >> while it is seen on the other platforms.  I don't think the uint
> > >> type is special cased inside of shiboken.
> > >
> > > Correct. The problem is that on AIX we have:
> > >    typedef unsigned int uint_t;
> > >    typedef uint_t uint;
> > 
> > The question is why you don't get an alias from uint to uint_t and then 
> > another one from uint_t to unsigned int.  I don't know the answer.  You 
> > might try putting together a minimal test case and then seeing what the 
> > difference is in it.
> 
> We do get an alias from uint to uint_t. But, oddly, not from uint_t to
> unsigned int. At least, that's what I've gathered from my debugging so
> far.

Testing the attached patch. Seems shiboken was ok all along.

-- 
albert chin (china at thewrittenword.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyside.patch
Type: text/x-diff
Size: 557 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20140417/d9af7838/attachment.patch>


More information about the PySide mailing list