From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26072 invoked from network); 9 Dec 1998 18:38:26 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Dec 1998 18:38:26 -0000 Received: from hotmail.com (f179.hotmail.com [207.82.251.65]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id NAA06725 for ; Wed, 9 Dec 1998 13:32:07 -0500 Received: (qmail 27244 invoked by uid 0); 9 Dec 1998 18:31:56 -0000 Message-ID: <19981209183156.27243.qmail@hotmail.com> Received: from 24.0.139.66 by www.hotmail.com with HTTP; Wed, 09 Dec 1998 10:31:56 PST X-Originating-IP: [24.0.139.66] From: "Designer 7" To: axp-list@redhat.com Subject: Re: [failure] xemacs-21b59 alphaev56-unknown-linux MIME-Version: 1.0 Content-Type: text/plain Date: Wed, 09 Dec 1998 10:31:56 PST 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