Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220193 - games-arcade/moagg-0.18 fails w/ gcc-4.3.0
Summary: games-arcade/moagg-0.18 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-05-04 08:07 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-05-10 11:08 UTC (History)
1 user (show)

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


Attachments
moagg-0.18-gcc43.patch (moagg-0.18-gcc43.patch,1.34 KB, patch)
2008-05-04 08:08 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-05-04 08:07:37 UTC
i686-pc-linux-gnu-g++ -g -DDEBUG -I. -IlibMoaggCore/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MD -MP -c libMoaggCore/src/Configuration.cpp -o libMoaggCore/src/Configuration.o
i686-pc-linux-gnu-g++ -g -DDEBUG -I. -IlibMoaggCore/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MD -MP -c libMoaggCore/src/Exception.cpp -o libMoaggCore/src/Exception.o
i686-pc-linux-gnu-g++ -g -DDEBUG -I. -IlibMoaggCore/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MD -MP -c libMoaggCore/src/LevelReader.cpp -o libMoaggCore/src/LevelReader.o
i686-pc-linux-gnu-g++ -g -DDEBUG -I. -IlibMoaggCore/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MD -MP -c libMoaggCore/src/SDL.cpp -o libMoaggCore/src/SDL.o
libMoaggCore/src/LevelReader.cpp: In member function ‘void LevelReader::init(const char*)’:
libMoaggCore/src/LevelReader.cpp:36: error: ‘strlen’ was not declared in this scope
libMoaggCore/src/LevelReader.cpp: In member function ‘void MissionReader::init()’:
libMoaggCore/src/LevelReader.cpp:77: error: ‘strlen’ was not declared in this scope
libMoaggCore/src/LevelReader.cpp:79: error: ‘strchr’ was not declared in this scope
make: *** [libMoaggCore/src/LevelReader.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-04 08:08:23 UTC
Created attachment 151769 [details, diff]
moagg-0.18-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 SpanKY gentoo-dev 2008-05-10 11:08:41 UTC
thanks, added the fix to the tree