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

amaya-9.1 build fails with gcc 4

From: sean darcy <seandarcy2@gmail.com>
Date: Wed, 13 Apr 2005 22:18:06 -0400
Message-ID: <c195ebf705041319182ffa8bed@mail.gmail.com>
To: www-amaya@w3.org

Trying to build amaya-fullsrc-9.1 with gcc-4:

g++ -O2 -W -x c++ -D__cplusplus -D_UNIX  -D_GL -D_WX  -DHAVE_CONFIG_H
-I.. -I../../amaya/xpm -I../../thotlib/include
-I../../thotlib/internals/var -I../../thotlib/internals/h
-I../../thotlib/internals/f   
-I/usr/src/redhat/BUILD/wxWidgets/src/png
-I/usr/src/redhat/BUILD/wxWidgets/src/jpeg
-I/usr/src/redhat/BUILD/wxWidgets/src/tiff
-I/usr/src/redhat/BUILD/Amaya/linux/wxWidgets_RELEASE/lib/wx/include/gtk2-unicode-release-static-2.5
-I/usr/src/redhat/BUILD/wxWidgets/include
-I/usr/src/redhat/BUILD/wxWidgets/contrib/include -DGTK_NO_CHECK_CASTS
-D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA  
-I/usr/src/redhat/BUILD/Amaya/linux/Mesa/include 
-I/usr/include/X11/Xft -I/usr/include/freetype2  -DNODISPLAY -c
../../thotlib/base/fileaccess.c -o base/fileaccessND.o
../../thotlib/base/fileaccess.c: In function 'void
TtaExtractName(char*, char*, char*)':
../../thotlib/base/fileaccess.c:687: error: cast from 'char*' to 'int'
loses precision
../../thotlib/base/fileaccess.c:687: error: cast from 'char*' to 'int'
loses precision
make[1]: *** [base/fileaccessND.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/Amaya/linux/thotlib'

sean
Received on Thursday, 14 April 2005 02:18:08 UTC

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