Re: gobject-introspection-0.10.8 warnings on AIX



On Tue, Nov 15, 2011 at 01:46:59PM -0600, Albert Chin wrote:
> On Tue, Nov 15, 2011 at 07:12:06PM +0000, Simon McVittie wrote:
> > On Tue, 15 Nov 2011 at 12:48:35 -0600, Albert Chin wrote:
> > > We've built gobject-introspection-0.10.8 on AIX, HP-UX, Solaris, IRIX, Tru64
> > > UNIX, and RHEL. We have it compiling everywhere except AIX.
> > > 
> > > We're seeing the following error. Any ideas?
> > > 
> > > /opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:41: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int8_out_max (gint8 *int8);' at 'int8'
> > 
> > AIX's system headers probably typedef or #define int8, uint16 etc.
> > to be the same thing as the standard int8_t, u_int16_t etc. The g-i tests
> > are using these names as parameters.
> > 
> > g-i could work around this by renaming the argument to i8 or int8_ or
> > something.
> > 
> > >   File "../giscanner/maintransformer.py", line 117, in _pass_fixup_hidden_fields
> > >     if (field.name.startswith('_')
> > > AttributeError: 'NoneType' object has no attribute 'startswith'
> > 
> > This is probably just fallout from the parse errors above.
> 
> I fixed the parse errors but the AttributeError remains.

My patch to fix the parse errors was wrong. Looking into it further.

-- 
albert chin (china thewrittenword com)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]