Re: amaya-9.1 build fails with gcc 4

On 5/11/05, Irene Vatton <Irene.Vatton@inrialpes.fr> wrote:
> Le Lundi 02 Mai 2005 18:20, sean darcy a écrit:
> > Ok. Figured that out. I needed to fix XpmI.h.
> >
> > Spent sunday changing int's to long int's. See the attached.
> 
> I integrated your changes in my version and it compiles.
> I'd like to know if the cast to "unsigned int" instead of "long int"
> doesn't work?
> 

I'll try, but I'd be surprised. I believe this a 64-bit issue - not a
gcc-4 problem. On amd64 a pointer is 64 bits. int ( signed or unsigned
) is 32 bits on both a 32 bit system and a 64 bit system. long int is
32 on a 32 bit system, 64 on a  64 bit system.

But, I'll see.

sean

Received on Thursday, 12 May 2005 23:18:37 UTC