W3C home > Mailing lists > Public > www-amaya-dev@w3.org > August 2005

Re: Amaya build fails on x86_64

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Wed, 17 Aug 2005 10:17:42 +0200
To: Irene.Vatton@inrialpes.fr
Cc: Amaya dev <www-amaya-dev@w3.org>
Message-Id: <200508171017.42481.vatton@inrialpes.fr>

Le Mercredi 17 Août 2005 09:16, John Ellson a écrit :
> |/usr/bin/g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GTK
>
> -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include
> -I../../thotlib/internals/var -I../../thotlib/internals/h
> -I../../thotlib/internals/f -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/X11R6/include
> -I/usr/include -c ../../thotlib/dialogue/callback.c -o dialogue/callback.o
> ..../../thotlib/dialogue/callback.c: In function ‘ThotBool
> CallRadioGTK(GtkWidget*, Cat_Context*)’:
> ..../../thotlib/dialogue/callback.c:602: error: cast from ‘void*’ to
> ‘guint’ loses precision
> ..../../thotlib/dialogue/callback.c:638: error: cast from ‘void*’ to
> ‘guint’ loses precision
> ..../../thotlib/dialogue/callback.c: In function ‘void
> CallValueSet(GtkWidget*, Cat_Context*, char*)’:
> ..../../thotlib/dialogue/callback.c:1018: error: cast from ‘GtkWidget*’ to
> ‘int’ loses precision
> ..../../thotlib/dialogue/callback.c:1019: error: cast from ‘GtkWidget*’ to
> ‘int’ loses precision
> ..../../thotlib/dialogue/callback.c:1020: error: cast from ‘GtkWidget*’ to
> ‘int’ loses precision
> ..../../thotlib/dialogue/callback.c:1021: error: cast from ‘GtkWidget*’ to
> ‘int’ loses precision
> make[1]: *** [dialogue/callback.o] Error 1
> make[1]: Leaving directory
> `/home/ellson/FIX/Linux.x86_64/build/Amaya/GTK/thotlib'
> make: *** [thotlib] Error 2

We cannot reporduce this error.
Could you test if a cast with (long int) solves the problem?

Regards
-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Wednesday, 17 August 2005 08:18:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:25:50 UTC