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.
38: void gi_marshalling_tests_int8_in_max (gint8 int8); 39: void gi_marshalling_tests_int8_in_min (gint8 int8); 41: void gi_marshalling_tests_int8_out_max (gint8 *int8); 42: void gi_marshalling_tests_int8_out_min (gint8 *int8); 44: void gi_marshalling_tests_int8_inout_max_min (gint8 *int8); 45: void gi_marshalling_tests_int8_inout_min_max (gint8 *int8); If that was the case, why aren't there complaints about lines 38 and 39? And, how do I find out what command is invoked to generate these syntax errors? -- albert chin ([email protected]) _______________________________________________ gtk-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtk-devel-list
