Hi all,
I have a very large Reference form with all the possible widgets and
dialogs. I use this to test my Glade-Perl source code generator but also
to build the C code as a check.
For a while now, calling autogen.sh and 'make' on the generated C source
code dies with the following errors.
I can email the .glade file privately (about 12kb gzipped) if the causes
are not obvious. I have been adding to the form since Glade 0.4.1, hence the
old file names. I'm sorry but I don't do C so I can't work out what's wrong.
Regards, Dermot
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include
-DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include
-I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include -g -O2 -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -c gladesrc.c
gladesrc.c:23: braced-group within expression allowed only inside a function
gladesrc.c:23: initializer element for `menuitem1_menu_uiinfo[0].hint' is not
constant
gladesrc.c:23: warning: initialization makes pointer from integer without a
cast
gladesrc.c:23: parse error before `)'
gladesrc.c:23: warning: type defaults to `int' in declaration of `__result'
gladesrc.c:23: warning: data definition has no type or storage class
gladesrc.c:23: parse error before `}'
gladesrc.c:30: parse error before `if'
gladesrc.c:30: warning: type defaults to `int' in declaration of
`__catalog_counter__'
gladesrc.c:30: conflicting declarations of `__catalog_counter__'
gladesrc.c:30: `__catalog_counter__' previously declared here
gladesrc.c:30: initializer element is not constant
gladesrc.c:30: warning: data definition has no type or storage class
gladesrc.c:30: parse error before `}'
gladesrc.c:30: warning: type defaults to `int' in declaration of `__result'
gladesrc.c:30: `__translation__' undeclared here (not in a function)
gladesrc.c:30: warning: data definition has no type or storage class
gladesrc.c:30: parse error before `}'
gladesrc.c:30: warning: type defaults to `int' in declaration of `__result'
gladesrc.c:30: warning: data definition has no type or storage class
gladesrc.c:30: parse error before `}'
gladesrc.c: In function `create_ReferenceForm':
gladesrc.c:3046: `Test' undeclared (first use this function)
gladesrc.c:3046: (Each undeclared identifier is reported only once
gladesrc.c:3046: for each function it appears in.)
gladesrc.c:3046: parse error before `data'
make[2]: *** [gladesrc.o] Error 1
make[2]: Leaving directory
`/home/dermot/Devel/Glade-Perl-0.41/Reference/Generated'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dermot/Devel/Glade-Perl-0.41/Reference'
make: *** [all-recursive-am] Error 2
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.