Re: gint32 / guint32



Raja R Harinath wrote:
> 
> "Gary V. Vaughan" <gvaughan@oranda.demon.co.uk> writes:
> > Andreas Cittlau wrote:
> > > I been compiling gnome from cvs for the past months, and must say
> > > that both gnome and the speed of development is amazing. Problems
> > > with the source from cvs has been minimal as soon as I
> > > upgraded/installed all required programs (automake etc).
> > >
> > > [[snip]]
> > >
> > > The error I get (a little piece of it included below) indicates that
> > > I dont have gint32 and guint32 defined(?).
> > 
> > This indicates that the new glibconfig.h generation code (generated in
> > config.status from configure.in) is not working... either the
> > AC_CHECK_SIZEOF macros are not working, or the case statements generate
> > the typedefs for glibconfig.h are not matching.
> > 
> > In my case I hacked configure.in slightly so that it hardcodes the
> > correct values for my machine.
> 
> Please tell us why you needed to hardcode the values.  AFAIK, the
> configure.in checks are very similar to what was originally in `glib.h'
> in coverage -- if the old code in `glib.h' checked for SIZEOF_INT and
> SIZEOF_LONG, the new code in configure.in checks for $ac_cv_sizeof_int and
> $ac_cv_sizeof_long.  If the new checks are failing, the old ones must
> have, too, unless there's a problem with the new checks.

Note that some buggy code doesn't define HAVE_CONFIG_H in DEFS with the
right combination of CFLAGS.  Make sure that all the glib.h checks and
includes are correct before blaming glib.  :)

	Jeff





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