The emerge of pingus-0.6.0 stops with the following error if I use gcc-3.4: if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/libxml2 -fexpensive-optimizations -fstack-protector -march=athlon-xp -mtune=athlon-xp -msse -m3dnow -mmmx -ftracer -O4 -fomit-frame-pointer -finline-functions -falign-jumps=4 -falign-loops=4 -pipe -MT graph.o -MD -MP -MF ".deps/graph.Tpo" \ -c -o graph.o `test -f 'graph.cxx' || echo './'`graph.cxx; \ then mv ".deps/graph.Tpo" ".deps/graph.Po"; \ else rm -f ".deps/graph.Tpo"; exit 1; \ fi In file included from graph.cxx:20: graph.hxx: In member function `WorldMapNS::Edge<EdgeType>& WorldMapNS::Graph<NodeType, EdgeType>::resolve_edge(const WorldMapNS::NodeId&, const WorldMapNS::NodeId&)': graph.hxx:151: error: `cout' is not a member of `std' graph.hxx:151: error: `endl' is not a member of `std' make[3]: *** [graph.o] Fehler 1 make[3]: *** Warte auf noch nicht beendete Prozesse... make[3]: Leaving directory `/var/tmp/portage/pingus-0.6.0-r1/work/pingus-0.6.0/src/worldmap' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/pingus-0.6.0-r1/work/pingus-0.6.0/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/pingus-0.6.0-r1/work/pingus-0.6.0' make: *** [all] Fehler 2 !!! ERROR: games-puzzle/pingus-0.6.0-r1 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1. make gcc-3.4.0 your compiler 2. emerge pingus-0.6.0-r1 3. Actual Results: emerge breaks with the above error Expected Results: pingus should finish compiling
Created attachment 32987 [details, diff] patch adding iostream header it looks like it's sufficient to add the iostream header-file to graph.hxx pingus finishes compiling and works as expected
Added to CVS. Thanks for the bug report and patch.