Re: a reminder about 64-bit machines
- From: Owen Taylor <otaylor redhat com>
- To: "Gareth Pearce" <tilps hotmail com>
- Cc: desktop-devel-list gnome org
- Subject: Re: a reminder about 64-bit machines
- Date: Sun, 14 Apr 2002 19:15:03 -0400 (EDT)
"Gareth Pearce" <tilps hotmail com> writes:
> On the topic of 64bit cleanness, would maintainers like it if I logged
> a stack of bugs against compiler warnings of the type 'cast from
> pointer to integer of different size' and its reverse? I havent ever
> actually seen this cause actual problems - but its definitely not
> clean. In some cases fixing it might result in an api change (at
> least on 64bit machines).
I don't see why ... usually, these warnigns just indicate
that an standard cast from void * to int needs to be switched
to use the G[U]INT_TO_POINTER() / GPOINTER_TO_[U]INT macros.
It's very seldom that when you are storing an integer in a pointer
you actually want to store a 64-bit quanity.
Regars,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]