gobject-introspection-0.10.8 warnings on AIX



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?

env LPATH=.libs PYTHONPATH=..:.. UNINSTALLED_INTROSPECTION_SRCDIR=.. UNINSTALLED_INTROSPECTION_BUILDDIR=.. ../g-ir-scanner --verbose -I.. --add-include-path=. --add-include-path=../gir --add-include-path=. --add-include-path=.. --warn-all --warn-error --reparse-validate \
--namespace=GIMarshallingTests --symbol-prefix=gi_marshalling_tests --nsversion=1.0 \
--libtool="/opt/fsw/bash42/bin/bash ../libtool" \
--add-include-path=.. --include=Gio-2.0 \
--library=libgimarshallingtests-1.0.la  --output=GIMarshallingTests-1.0.gir \
--c-include="tests/gimarshallingtests.h" \
./gimarshallingtests.h ./gimarshallingtests.c
/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'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:42: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int8_out_min (gint8 *int8);' at 'int8'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:44: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int8_inout_max_min (gint8 *int8);' at 'int8'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:45: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int8_inout_min_max (gint8 *int8);' at 'int8'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:62: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int16_out_max (gint16 *int16);' at 'int16'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:63: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int16_out_min (gint16 *int16);' at 'int16'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:65: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int16_inout_max_min (gint16 *int16);' at 'int16'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:66: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int16_inout_min_max (gint16 *int16);' at 'int16'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:83: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int32_out_max (gint32 *int32);' at 'int32'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:84: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int32_out_min (gint32 *int32);' at 'int32'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:86: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int32_inout_max_min (gint32 *int32);' at 'int32'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:87: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int32_inout_min_max (gint32 *int32);' at 'int32'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:104: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int64_out_max (gint64 *int64);' at 'int64'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:105: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int64_out_min (gint64 *int64);' at 'int64'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:107: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int64_inout_max_min (gint64 *int64);' at 'int64'
/opt/build/gobject-introspection-0.10.8/tests/gimarshallingtests.h:108: syntax error, unexpected typedef-name, expecting ')' or ',' in 'void gi_marshalling_tests_int64_inout_min_max (gint64 *int64);' at 'int64'
g-ir-scanner: compile: gcc -Wall -pthread -I/opt/TWWfsw/libglib226/include/gcc44 -I/opt/TWWfsw/libglib226/lib/gcc44/include -I/opt/TWWfsw/gettext018/include -I.. -I/opt/TWWfsw/libglib226/include/gcc44/gio-unix -I/opt/TWWfsw/libglib226/include/gcc44 -I/opt/TWWfsw/libglib226/lib/gcc44/include -I/opt/TWWfsw/gettext018/include -c -o /opt/build/gobject-introspection-0.10.8/tests/tmp-introspectkXXtEu/GIMarshallingTests-1.0.o /opt/build/gobject-introspection-0.10.8/tests/tmp-introspectkXXtEu/GIMarshallingTests-1.0.c
g-ir-scanner: link: /opt/fsw/bash42/bin/bash ../libtool --mode=link --tag=CC --silent gcc -o /opt/build/gobject-introspection-0.10.8/tests/tmp-introspectkXXtEu/GIMarshallingTests-1.0 -export-dynamic -Wl,-brtl -Wl,-blibpath:/usr/lib -L. libgimarshallingtests-1.0.la -Wl,-blibpath:/opt/TWWfsw/libglib226/lib/gcc44 -pthread -Wl,-blibpath:/opt/TWWfsw/gettext018/lib -L/opt/TWWfsw/libglib226/lib/gcc44 -L/opt/TWWfsw/gettext018/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl /opt/build/gobject-introspection-0.10.8/tests/tmp-introspectkXXtEu/GIMarshallingTests-1.0.o
Traceback (most recent call last):
  File "../g-ir-scanner", line 43, in <module>
    sys.exit(scanner_main(sys.argv))
  File "../giscanner/scannermain.py", line 412, in scanner_main
    main.transform()
  File "../giscanner/maintransformer.py", line 59, in transform
    self._namespace.walk(self._pass_fixup_hidden_fields)
  File "../giscanner/ast.py", line 435, in walk
    node.walk(callback, [])
  File "../giscanner/ast.py", line 511, in walk
    res = callback(self, chain)
  File "../giscanner/maintransformer.py", line 117, in _pass_fixup_hidden_fields
    if (field.name.startswith('_')
AttributeError: 'NoneType' object has no attribute 'startswith'
gmake[2]: *** [GIMarshallingTests-1.0.gir] Error 1
gmake[2]: Leaving directory `/opt/build/gobject-introspection-0.10.8/tests'

-- 
albert chin (china thewrittenword com)


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