Re: gint32 / guint32



"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.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



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