W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2007

64-bits problem

From: Sergio Monteiro Basto <sergio@sergiomb.no-ip.org>
Date: Thu, 01 Mar 2007 02:19:09 +0000
To: www-amaya@w3.org
Message-Id: <1172715549.1631.12.camel@monteirov>
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/include       -c ../../thotlib/base/containers.c -o base/containers.o
../../thotlib/base/containers.c: In function 'int HashMap_SimpleCompareKey(void*, void*)':
../../thotlib/base/containers.c:460: error: cast from 'void*' to 'int' loses precision
../../thotlib/base/containers.c:460: error: cast from 'void*' to 'int' loses precision
../../thotlib/base/containers.c: In function 'int PointerHashMap_HashFunction(void*)':
../../thotlib/base/containers.c:728: error: cast from 'void*' to 'int' loses precision
make[1]: *** [base/containers.o] Error 1

-- 
Sérgio M.B.


Received on Thursday, 1 March 2007 02:19:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:45 GMT