[PySide] Problems building pyside 1.2.1 on AIX (shiboken problem)
Albert Chin
pyside at mlists.thewrittenword.com
Thu Apr 17 20:58:27 CEST 2014
On Thu, Apr 17, 2014 at 11:22:37AM -0400, John Ehresman wrote:
> On 4/16/14, 6:21 PM, Albert Chin wrote:
> > I need to get shiboken to provide the same behavior on Linux as on
> > AIX. While debugging this, it seems that the alias for "uint" doesn't
> > map to "unsigned int" on AIX. In ApiExtractor/typesystem.cpp from
> > shiboken:
> > bool TypeEntry::isCppPrimitive() const
> > {
> > if (!isPrimitive())
> > return false;
> >
> > PrimitiveTypeEntry* aliasedType = ((PrimitiveTypeEntry*)this)->basicAliasedTypeEntry();
> > QByteArray typeName = (aliasedType ? aliasedType->name() : m_name).toAscii();
> >
> > On AIX, aliasedType is NULL while on Solaris, HP-UX, and Linux, it
> > is not. I presume this means there is on alias from "uint" to
> > "unsigned int". Where in the code should I be looking further?
>
> 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;
How do we handle this?
--
albert chin (china at thewrittenword.com)
More information about the PySide
mailing list