tags 300930 fixed thanks On Tue, Mar 22, 2005 at 07:36:08PM +0100, Andreas Jochens said > Package: sim > Severity: normal > Tags: patch > > When building 'sim' on amd64 with gcc-4.0, > I get the following error: > > if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/share/qt3/include > -I/usr/share/qt3/include -I. -DPIC -fPIC -DQT_THREAD_SUPPORT -DPIC -fPIC > -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/libxml2 > -I/usr/include/libxml2 -O2 -fno-exceptions -fno-check-new -MT cfg.lo -MD > -MP -MF ".deps/cfg.Tpo" \ > -c -o cfg.lo `test -f 'cfg.cpp' || echo './'`cfg.cpp; \ > then mv -f ".deps/cfg.Tpo" ".deps/cfg.Plo"; \ > else rm -f ".deps/cfg.Tpo"; exit 1; \ > fi > cfg.cpp: In function 'void SIM::init_data(const SIM::DataDef*, SIM::Data*)': > cfg.cpp:570: error: cast from 'const char*' to 'unsigned int' loses precision > make[4]: *** [cfg.lo] Error 1 > make[4]: Leaving directory `/sim-0.9.3/sim/api' > > With the attached patch 'sim' can be compiled > on amd64 using gcc-4.0.
Oddly, the NMU of 0.9.3-1.1 appears to build fine with gcc-4.0, even tho it doesn't seem to include this patch... -rob -rob -- no wonder the sound has so much body! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]