Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227063 - games-roguelike/ivan-0.50 fails to compile w/gcc-4.3
Summary: games-roguelike/ivan-0.50 fails to compile w/gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-14 23:22 UTC by trefoil
Modified: 2008-06-17 01:47 UTC (History)
1 user (show)

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


Attachments
ivan-0.50-gcc43.patch (ivan-0.50-gcc43.patch,252 bytes, patch)
2008-06-15 14:41 UTC, Marek Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.