Bug 126595 - qjoypad-3.4 + gcc-4.1.0
Bug#: 126595 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: mattepiu@gentoo.org
Component: Games
URL: 
Summary: qjoypad-3.4 + gcc-4.1.0
Keywords:  
Status Whiteboard: 
Opened: 2006-03-17 14:11 0000
Description:   Opened: 2006-03-17 14:11 0000
layout.h:93: error: ISO C++ forbids declaration of 'LayoutEdit' with no type
layout.h:93: error: expected ';' before '*' token
error.h:8: warning: 'void error(QString, QString)' defined but not used
make: *** [layout_edit.o] Error 1 

Emerge info (QT is 3.3.6):

Portage 2.1_pre6-r3 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r1,
2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Sempron(tm) Processor 3100+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="ftp://ftp.solnet.ch/mirror/Gentoo/
http://ftp.heanet.ie/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/
http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X aalib acl acpi acpi4linux alsa apm audiofile
avi berkdb bitmap-fonts bzip2 crypt cups curl divx4linux dri dts dvb dvd dvdr
dvdread eds emboss encode esd exif expat ffmpeg flac foomaticdb fortran gdbm
gif gimp glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal idn imagemagick
imlib java joystick jpeg kde lcms libg++ libwww lirc live lm_sensors mad
matroska mikmod mmx mmx2 mmxext mng motif mp3 mpeg ncurses nls nptl nptlonly
nsplugin nvidia offensive ogg oggvorbis ogre opengl oss pam pcre pdflib perl
png python qt quicktime readline real scanner sdl spell sse sse-filters sse2
ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l
v4l2 vorbis win32codecs wxgtk1 xcomposite xine xml2 xmms xscreensaver xv xvid
xvmc zlib zvbi elibc_glibc input_devices_mouse input_devices_keyboard
input_devices_wacom kernel_linux linguas_it userland_GNU video_cards_nvidia
video_cards_nv video_cards_vesa video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS

------- Comment #1 From Mark Loeser 2006-03-17 22:46:57 0000 -------
Created an attachment (id=82438) [details]
gcc 4 patch

This should fix it, please let me know if not.

------- Comment #2 From Matteo Azzali 2006-03-18 02:58:48 0000 -------
Works for me.

------- Comment #3 From Tupone Alfredo 2006-04-04 10:38:23 0000 -------
patch in portage, thanks