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

Bug 217601

Summary: games-puzzle/einstein-2.0 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    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/455158
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: einstein-2.0-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 09:04:14 UTC
g++ -pipe -Wall -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3  `sdl-config --cflags` -DPREFIX=L\"/usr/games\"  -c rules.cpp
In file included from resources.cpp:10:
convert.h: In function ‘std::wstring toString(const T&)’:
convert.h:21: error: must #include <typeinfo> before using typeid
make: *** [resources.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from rules.cpp:5:
convert.h: In function ‘std::wstring toString(const T&)’:
convert.h:21: error: must #include <typeinfo> before using typeid
make: *** [rules.o] Error 1


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-14 09:05:16 UTC
Created attachment 149652 [details, diff]
einstein-2.0-gcc43.patch

Fixes the problem. Adapted from Debian.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2008-04-15 18:11:08 UTC
in portage.  thanks for the bug report and patch.