From: "Designer 7" <designer_7@hotmail.com>
To: axp-list@redhat.com
Subject: Re: [failure] xemacs-21b59 alphaev56-unknown-linux
Date: Wed, 09 Dec 1998 10:31:56 PST [thread overview]
Message-ID: <19981209183156.27243.qmail@hotmail.com> (raw)
Hi... just a few comments... see below following each section...
> 1966:/net/nbeckerpc/usr/local/src/xemacs-20/src/process-unix.c:189:
warning: cast to pointer from integer of different size
> 1970:/net/nbeckerpc/usr/local/src/xemacs-20/src/process-unix.c:793:
warning: cast to pointer from integer of different size
> 1971:/net/nbeckerpc/usr/local/src/xemacs-20/src/process-unix.c:793:
warning: cast to pointer from integer of different size
> 1973:/net/nbeckerpc/usr/local/src/xemacs-20/src/process-unix.c:1564:
warning: cast to pointer from integer of different size
> 1974:/net/nbeckerpc/usr/local/src/xemacs-20/src/process-unix.c:1565:
warning: cast to pointer from integer of different size
> 1976:/net/nbeckerpc/usr/local/src/xemacs-20/src/process-unix.c:1725:
warning: cast to pointer from integer of different size
> 1977:/net/nbeckerpc/usr/local/src/xemacs-20/src/process-unix.c:1726:
warning: cast to pointer from integer of different size
> 2013:/net/nbeckerpc/usr/local/src/xemacs-20/src/process.c:215:
warning: cast to pointer from integer of different size
> 2015:/net/nbeckerpc/usr/local/src/xemacs-20/src/process.c:479:
warning: cast to pointer from integer of different size
> 2017:/net/nbeckerpc/usr/local/src/xemacs-20/src/process.c:1841:
warning: cast to pointer from integer of different size
Well, first of all, this isn't that scary... this is probably some old
32 bit code.... on 64bit machines, pointers are 64 bits wide, and the
original code was probably casting a 32bit integer (signed/unsigned?) to
a 32 bit pointer on a 32 bit architecture. That would have been ok. Now
it's trying to cast a 32bit integer to a 64bit pointer. I'm not sure how
this situation is handled, usually you get the upper 4 bytes padded...
but depending on what the pointer is used for, (and you'll have to look
at the code very carefully)... you might be able to get around those
warnings if you cast the 32bit integer to a 64bit integer (__64, __64 or
int64_t.. or something like that).... or use a 64bit integer from the
start if you intend on casting it to a pointer. Well... these are just
some of my thoughts, I'm no professional programmer... so if anyone has
comments, I'd be happy to learn from them.
>--------------------------------------------------------------------
> WARNING: Compiling without PNG image support.
> Reason: PNG library version too old (pre 1.0.2)!
> WARNING: You should strongly consider installing the PNG libraries.
> WARNING: Otherwise certain images and glyphs may not display.
> WARNING: (a copy may be found in
I don't know if these messages were part of your "scary" stuff.... but I
think it's just saying you're missing a newer version of libpng ...
which you can just get from the redhat site. I know I have it on my
alpha, I don't recall which version though... but if you don't use png
files, might as well forget the trouble.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
next reply other threads:[~1998-12-09 18:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-09 18:31 Designer 7 [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-12-09 17:09 [failure] xemacs-21b59 alphaev56-unknown-linux nbecker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox