delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/08/11:03:40

Date: Tue, 8 Sep 1998 18:00:01 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Elliott Oti <oti AT phys DOT uu DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: XWinAllegro
In-Reply-To: <Pine.OSF.3.95.980908134347.4699A-100000@ruunat.phys.uu.nl>
Message-ID: <Pine.SUN.3.91.980908175635.28479B-100000@is>
MIME-Version: 1.0

On Tue, 8 Sep 1998, Elliott Oti wrote:

> allegro.h: In function `movedatal':
> allegro.h:234: warning: cast to pointer from integer of different size
> 
> -- I let these ride.

Beware: Alpha's long is 64-bit wide whereas a pointer is 32 bits (or is it
the other way around?), so the compiler tells you here that you are
casting 64 bits to 32 bits, which is not a very good idea...

Many programs which assume that pointers and longs are the same size 
break on Alpha (the core dump at run time).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019