Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217944 - games-action/btanks-0.7.5800 fails w/ gcc-4.3.0
Summary: games-action/btanks-0.7.5800 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-16 13:00 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-20 09:19 UTC (History)
0 users

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


Attachments
btanks-0.7.5800-gcc43.patch (btanks-0.7.5800-gcc43.patch,2.22 KB, patch)
2008-04-16 13:00 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-16 13:00:08 UTC
g++ -o build/release/mrt/serializator.os -c -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -fPIC -Wall -pedantic -Wno-long-long -pthread -DUSE_GLSDL -DV3_DISABLE_Z -D_REENTRANT -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/games/btanks\"" -DMRTAPI=DLLEXPORT -Ibuild/release/mrt -Imrt -Imrt -Ibuild/release/mrt/src -Imrt/src -Imrt/src -I. -Isrc mrt/serializator.cpp
mrt/serializator.cpp: In member function 'void mrt::Serializator::add(int)':
mrt/serializator.cpp:99: error: 'memcpy' was not declared in this scope
mrt/serializator.cpp: In member function 'void mrt::Serializator::add(const std::string&)':
mrt/serializator.cpp:123: error: 'memcpy' was not declared in this scope
mrt/serializator.cpp: In member function 'void mrt::Serializator::add(const mrt::Chunk&)':
mrt/serializator.cpp:134: error: 'memcpy' was not declared in this scope
mrt/serializator.cpp: In member function 'void mrt::Serializator::add(const void*, int)':
mrt/serializator.cpp:144: error: 'memcpy' was not declared in this scope
mrt/serializator.cpp: In member function 'void mrt::Serializator::get(int&) const':
mrt/serializator.cpp:190: warning: left shift count >= width of type
mrt/serializator.cpp: In member function 'void mrt::Serializator::get(void*, int) const':
mrt/serializator.cpp:237: error: 'memcpy' was not declared in this scope
mrt/serializator.cpp: In member function 'void mrt::Serializator::get(mrt::Chunk&) const':
mrt/serializator.cpp:253: error: 'memcpy' was not declared in this scope
scons: *** [build/release/mrt/serializator.os] Error 1
scons: building terminated because of errors.


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-16 13:00:58 UTC
Created attachment 149932 [details, diff]
btanks-0.7.5800-gcc43.patch

Fixes the problem. Snatched from Debian.