[ scummvm-Bugs-1235211 ] cvs fails to compile with gcc4.0

SourceForge.net noreply at sourceforge.net
Sat Jul 9 16:23:06 CEST 2005


Bugs item #1235211, was opened at 2005-07-09 14:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1235211&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Suggs bill (mnbv)
Assigned to: Nobody/Anonymous (nobody)
Summary: cvs fails to compile with gcc4.0

Initial Comment:
After doing a cvs update today I tried to build a
debian package by doing "make deb". This is the error I
got :

g++
-Wp,-MMD,"saga/.deps/isomap.d",-MQ,"saga/isomap.o",-MP
-Wall -g -ansi -W -Wno-unused-parameter -O
-Wuninitialized -Wno-long-long -Wno-multichar
-Wno-unknown-pragmas -pedantic -Wpointer-arith
-Wcast-qual -Wconversion -Wshadow -Wimplicit -Wundef
-Wnon-virtual-dtor -Wno-reorder -Wwrite-strings
-fcheck-new -DHAVE_CONFIG_H -DUNIX -DDISABLE_KYRA -I.
-I. -I/usr/include/SDL -D_REENTRANT -Itest/cxxtest -c
saga/isomap.cpp -o saga/isomap.o
saga/isomap.cpp: In member function 'void
Saga::IsoMap::drawTile(Saga::SURFACE*, uint16, const
Common::Point&, const Saga::Location*)':
saga/isomap.cpp:873: error: cast from 'void*' to 'uint'
loses precision
saga/isomap.cpp:873: error: cast from 'byte*' to 'uint'
loses precision
saga/isomap.cpp:874: error: cast from 'void*' to 'uint'
loses precision
saga/isomap.cpp:874: error: cast from 'byte*' to 'uint'
loses precision
make[2]: *** [saga/isomap.o] Error 1
make[2]: Leaving directory `/home/grahame/scummvm'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/grahame/scummvm'
make: *** [deb] Error 2


Using Debian unstable (amd64) with gcc4.0 (the new
default compiler)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1235211&group_id=37116




More information about the Scummvm-tracker mailing list