W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2005

Re: amaya-9.1 build fails with gcc 4

From: sean darcy <seandarcy2@gmail.com>
Date: Thu, 12 May 2005 19:18:20 -0400
Message-ID: <c195ebf705051216187a84776f@mail.gmail.com>
To: Irene.Vatton@inrialpes.fr
Cc: www-amaya@w3.org

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:33 UTC