I get the following error: ../tankgraph/GLWTankTip.cpp: In member function 'virtual void TankUndoMenu::itemSelected(GLWSelectorEntry*, int)': ../tankgraph/GLWTankTip.cpp:71: error: cast from 'void*' to 'unsigned int' loses precision ../tankgraph/GLWTankTip.cpp: In member function 'virtual void TankBatteryTip::itemSelected(GLWSelectorEntry*, int)': ../tankgraph/GLWTankTip.cpp:239: error: cast from 'void*' to 'int' loses precision make[2]: *** [GLWTankTip.o] Error 1 My emerge --info: Portage 2.1.1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 x86_64) ================================================================= System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.5 Last Sync: Wed, 20 Sep 2006 09:50:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo " LC_ALL="es_ES@euro" LINGUAS="es en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa amd64 arts asf audiofile bash-completion beagle bindist bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cross crypt cscope css cups curl curlwrappers dbus dga dio divx4linux dlloader dri dts dvd dvdr dvdread eds elibc_glibc encode erandom escreen esd evo exif fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp gimpprint glitx glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog ithreads jabber jack java joystick jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux latex lcms libg++ libnotify linguas_en_US linguas_es lirc logrotate mad madwifi mcal mikmod mime mng mono motif mp3 mpeg mpi mplayer musepack mysql nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pcre pda pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection ruby scanner sdl seamonkey session slang slp sockets spell spl ssl svg sysvipc tcltk tcpd tetex theora threads tiff timidity totem truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga videos vim vorbis wma wmf xcomposite xine xml xml2 xmms xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Thanks
Hrrrmn... I get the same thing now, when it did work before. Strange. Apparently, something else on the system has caused this to no longer work.
Created attachment 98132 [details] output from emerge -evp scorched3d Here's my emerge -evp scorched3d output. I'm not sure what in here is causing it to fail, but it worked perfectly when the ebuild was added/marked stable.
gcc4 isn't it? There are a few others like this.
Yes, I am using gcc4 Thanks
Created attachment 98465 [details, diff] It changes casting to int into casting to long in few places It's already fixed in upstream (cvs version, will be released in 40.1) Shouldn't break anything on 32 bit archs. I'm past 12+ hours stable gaming (maybe stabilize scorch on amd64 ? ) Hope it helps someone ;-)
I edited the ebuild a little bit to include your patch and it compiles.. however the game does appear to crash quite a bit with sound on.
Try to turn off birds sound - it's known issue...
I can confirm that the patch works.
Fixed in CVS