Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218837

Summary: games-strategy/netpanzer-0.8.2 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: netpanzer-0.8.2-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 05:25:17 UTC
...patience...
...found 1000 target(s)...
...updating 269 target(s)...
MkDir1 ./build/i686-pc-linux-gnu/opt/src/Lib/Types
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Types/Angle.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Types/fRect.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Types/iXY.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Types/fXYZ.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Types/iRect.o
Archive ./build/i686-pc-linux-gnu/opt/src/Lib/Types/libnetpanzertypes.a
ar: creating ./build/i686-pc-linux-gnu/opt/src/Lib/Types/libnetpanzertypes.a
Ranlib ./build/i686-pc-linux-gnu/opt/src/Lib/Types/libnetpanzertypes.a
MkDir1 ./build/i686-pc-linux-gnu/opt/src/Lib/Util
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Util/UtilInterface.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Util/Math.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Util/FileUtil.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Util/FileSystem.o
src/Lib/Util/FileSystem.cpp: In function ‘void filesystem::initialize(const char*, const char*, const char*)’:
src/Lib/Util/FileSystem.cpp:67: warning: deprecated conversion from string constant to ‘char*’
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Util/Exception.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Util/TimeStamp.o
C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Util/Log.o
src/Lib/Util/Log.cpp: In member function ‘void Logger::cleanLogs()’:
src/Lib/Util/Log.cpp:90: error: ‘sort’ is not a member of ‘std’

    i686-pc-linux-gnu-g++ -c -o ./build/i686-pc-linux-gnu/opt/src/Lib/Util/Log.o  -I. -Isrc/Lib -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Wall -W -O3 -g3 -O3 -g3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 src/Lib/Util/Log.cpp

...failed C++ ./build/i686-pc-linux-gnu/opt/src/Lib/Util/Log.o ...
...skipped libnetpanzerutil.a for lack of libnetpanzerutil.a(Log.o)...
...failed updating 1 target(s)...
...skipped 1 target(s)...
...updated 14 target(s)...


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 05:25:59 UTC
Created attachment 150566 [details, diff]
netpanzer-0.8.2-gcc43.patch

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