First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 53435
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Felix Riemann <felix@hsgheli.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pingus-gcc34.patch patch adding iostream header patch Felix Riemann 2004-06-09 10:38 0000 259 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 53435 depends on: Show dependency tree
Show dependency graph
Bug 53435 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-09 10:36 0000
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

------- Comment #1 From Felix Riemann 2004-06-09 10:38:27 0000 -------
Created an attachment (id=32987) [edit]
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

------- Comment #2 From Mr. Bones. 2004-06-09 22:34:47 0000 -------
Added to CVS.  Thanks for the bug report and patch.

First Last Prev Next    No search results available      Search page      Enter new bug