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

Bug 227063

Summary: games-roguelike/ivan-0.50 fails to compile w/gcc-4.3
Product: Gentoo Linux Reporter: trefoil <gentoo>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: mlm
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: ivan-0.50-gcc43.patch

Description trefoil 2008-06-14 23:22:30 UTC
/Please/ don't hardmask without giving me a chance to hunt for patches first.

i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ivan\" -DVERSION=\"0.50\"  -I. -I.  -I../../FeLib/Include  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DLINUX -DLOCAL_STATE_DIR=\"/var/games/ivan\" -DDATADIR=\"/usr/share/games\" -DUSE_SDL -DGCC  -O0 -march=athlon-xp -pipe -fomit-frame-pointer -c fetime.cpp
festring.cpp:20: warning: deprecated conversion from string constant to 'char*'
festring.cpp: In static member function 'static void festring::InstallIntegerMap()':
festring.cpp:459: error: 'atexit' was not declared in this scope
make[2]: *** [festring.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/games-roguelike/ivan-0.50/work/ivan-0.50/FeLib/Source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-roguelike/ivan-0.50/work/ivan-0.50/FeLib'
make: *** [all-recursive] Error 1


Reproducible: Always
Comment 1 Marek Miller 2008-06-15 14:40:43 UTC
Again missing headers.

Steps to reproduce:
1. USE="" emerge -v1 =games-roguelike/ivan-0.50

The error messages:
1.
> festring.cpp: In static member function 'static void festring::InstallIntegerMap()':
> festring.cpp:459: error: 'atexit' was not declared in this scope


My emerge --info: as in the bug 226663, comment 2.
I include the patch.
Comment 2 Marek Miller 2008-06-15 14:41:09 UTC
Created attachment 156923 [details, diff]
ivan-0.50-gcc43.patch
Comment 3 trefoil 2008-06-16 02:27:45 UTC
Thanks Marek! Compiles and works fine. Tested on x86.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2008-06-17 01:47:53 UTC
in portage.  thanks for the bug report and patch.