Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219502 - games-strategy/scorched3d-41.3-r1 fails w/ gcc-4.3.0
Summary: games-strategy/scorched3d-41.3-r1 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-27 15:57 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-30 15:13 UTC (History)
0 users

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


Attachments
scorched3d-41.3-gcc43.patch (scorched3d-41.3-gcc43.patch,1.78 KB, patch)
2008-04-27 15:58 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 15:57:28 UTC
Making all in src
make[1]: Entering directory `/var/tmp/portage/games-strategy/scorched3d-41.3-r1/work/scorched/src'
Making all in scorched
make[2]: Entering directory `/var/tmp/portage/games-strategy/scorched3d-41.3-r1/work/scorched/src/scorched'
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ICONV_H=1 -I.  -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r1\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o main.o `test -f './main.cpp' || echo './'`./main.cpp
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ICONV_H=1 -I.  -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r1\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ScorchedParams.o `test -f './ScorchedParams.cpp' || echo './'`./ScorchedParams.cpp
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ICONV_H=1 -I.  -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r1\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ModDirs.o `test -f '../engine/ModDirs.cpp' || echo './'`../engine/ModDirs.cpp
../engine/ModDirs.cpp: In member function ‘bool ModDirs::loadModDir(const char*, bool)’:
../engine/ModDirs.cpp:48: warning: deprecated conversion from string constant to ‘char*’
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ICONV_H=1 -I.  -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r1\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ModFileEntry.o `test -f '../engine/ModFileEntry.cpp' || echo './'`../engine/ModFileEntry.cpp
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ICONV_H=1 -I.  -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r1\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ModFiles.o `test -f '../engine/ModFiles.cpp' || echo './'`../engine/ModFiles.cpp
../engine/ModFiles.cpp: In member function ‘bool ModFiles::loadModFiles(const char*, bool, ProgressCounter*)’:
../engine/ModFiles.cpp:89: warning: deprecated conversion from string constant to ‘char*’
../engine/ModFiles.cpp:103: warning: deprecated conversion from string constant to ‘char*’
../engine/ModFiles.cpp:118: warning: deprecated conversion from string constant to ‘char*’
../engine/ModFiles.cpp: In member function ‘bool ModFiles::loadModDir(const char*, const char*, ProgressCounter*)’:
../engine/ModFiles.cpp:173: warning: deprecated conversion from string constant to ‘char*’
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"scorched3d\" -DVERSION=\"41\" -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ICONV_H=1 -I.  -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include/freetype2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/include  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -DS3D_DOCDIR=\"/usr/share/doc/scorched3d-41.3-r1\" -DS3D_DATADIR=\"/usr/share/games/scorched3d\" -DS3D_BINDIR=\"/usr/games/bin\" -c -o ModInfo.o `test -f '../engine/ModInfo.cpp' || echo './'`../engine/ModInfo.cpp
In file included from ./main.cpp:35:
../common/main.h: In function ‘void _no_storage()’:
../common/main.h:43: error: ‘exit’ is not a member of ‘std’
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/games-strategy/scorched3d-41.3-r1/work/scorched/src/scorched'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-strategy/scorched3d-41.3-r1/work/scorched/src'
make: *** [all-recursive] Error 1
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-27 15:58:19 UTC
Created attachment 151149 [details, diff]
scorched3d-41.3-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2008-04-30 15:13:17 UTC
Fixed, thanks.