Re: GLib and 64-bit Windows



I think a large amount of errors stem from the fact that it is assumed
that sizeof(long) == sizeof(void *)

">=", I think, but yes.  You need to make sure configure defines gsize
as unsigned
long long, and gssize as long long.

You might also want to check...

* the ptrdiff_t type.  If it has a different size that size_t, there
might be a bit of
 fun hidden there too.

* if NULL is an integer type.  No, really.  If it is defined as just
"0" or "0L", you are
 in for a world of hurt.  It should be simplest to override the
definition in that case.

Morten



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