Bug 217601 - games-puzzle/einstein-2.0 fails w/ gcc-4.3.0
Bug#: 217601 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: loki_val@gentoo.org
Component: GCC Porting
URL:  http://bugs.debian.org/455158
Summary: games-puzzle/einstein-2.0 fails w/ gcc-4.3.0
Keywords:  
Status Whiteboard: 
Opened: 2008-04-14 09:04 0000
Description:   Opened: 2008-04-14 09:04 0000
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 From Peter Alfredsen 2008-04-14 09:05:16 0000 -------
Created an attachment (id=149652) [details]
einstein-2.0-gcc43.patch

Fixes the problem. Adapted from Debian.

------- Comment #2 From Mr. Bones. 2008-04-15 18:11:08 0000 -------
in portage.  thanks for the bug report and patch.