Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136358 - xmms-nsf does not compile with gcc-4.1.1
Summary: xmms-nsf does not compile with gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-10 22:11 UTC by Miguel Marte
Modified: 2006-06-11 17:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix xmms-nsf compile with gcc-4.1.1 (xmms-nsf-gcc-4.1.1.patch,576 bytes, patch)
2006-06-10 22:12 UTC, Miguel Marte
Details | Diff
xmms-nsf-gcc4 patch (xmms-nsf-0.0.3-gcc4.patch,608 bytes, patch)
2006-06-10 22:36 UTC, Miguel Marte
Details | Diff
updated ebuild to include patch (xmms-nsf-0.0.3-r1.ebuild,1000 bytes, application/octet-stream)
2006-06-10 22:38 UTC, Miguel Marte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Marte 2006-06-10 22:11:04 UTC
xmms-nsf does not compile with gcc-4.1.1

nsf.c: In function 'play_loop':
nsf.c:465: warning: passing argument 1 of 'NESAudioRender' from incompatible pointer type
nsf.c: In function 'play_file':
nsf.c:532: error: invalid lvalue in assignment

Portage 2.1_rc4-r2 (default-linux/amd64/2006.0, gcc-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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 /usr/local/overlay-clock"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cairo cdr cli crypt cups dri dvd dvdr dvdread eds emboss encode foomaticdb fortran gif glitz gnome gpm gstreamer gtk gtk2 imlib isdnlog jpeg lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nvidia opengl pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb vorbis xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Miguel Marte 2006-06-10 22:12:00 UTC
Created attachment 88880 [details, diff]
Patch to fix xmms-nsf compile with gcc-4.1.1
Comment 2 Miguel Marte 2006-06-10 22:36:56 UTC
Created attachment 88881 [details, diff]
xmms-nsf-gcc4 patch
Comment 3 Miguel Marte 2006-06-10 22:38:22 UTC
Created attachment 88882 [details]
updated ebuild to include patch
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2006-06-11 17:40:33 UTC
i added a new patch that includes your work and the previous one for gcc3. It's in cvs. Thanks