[PySide] Problems building pyside 1.2.1 on AIX (shiboken problem)
Albert Chin
pyside at mlists.thewrittenword.com
Fri Apr 18 13:51:19 CEST 2014
On Thu, Apr 17, 2014 at 10:29:45PM -0500, Albert Chin wrote:
> 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.
This patch fixed the issue for me. Can someone commit?
--
albert chin (china at thewrittenword.com)
More information about the PySide
mailing list