[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: 0.4.0 Testing



On 29.01.2004 19:44, Chang wrote:
> > Now, in this case, is no news good news, or is
> > just nobody checking it out..?
> 
> Hmmmm.. I have tried it out, and I got a problem:
[...]
> game.cpp: In member function `int Game::Load(const char*)':
> game.cpp:317: error: `cerr' undeclared (first use this function)
> game.cpp:317: error: (Each undeclared identifier is reported only once
> for each
>    function it appears in.)
> 
> Maybe this helps.

Uh, ok. When you reported the problem with SDL_ttf I thought
things were fine afterwards...

Anyway, can you try this patch?

Jens
diff -ur ../crimson-0.4.0pre1.0/src/cf/game.cpp src/cf/game.cpp
--- ../crimson-0.4.0pre1.0/src/cf/game.cpp	Fri Jan 30 17:58:49 2004
+++ src/cf/game.cpp	Fri Jan 30 17:59:09 2004
@@ -20,6 +20,7 @@
 // game.cpp
 ////////////////////////////////////////////////////////////////////////
 
+#include <iostream>
 #include <string.h>
 
 #include "game.h"
diff -ur ../crimson-0.4.0pre1.0/src/cf/mission.cpp src/cf/mission.cpp
--- ../crimson-0.4.0pre1.0/src/cf/mission.cpp	Fri Jan 30 17:58:49 2004
+++ src/cf/mission.cpp	Fri Jan 30 17:59:23 2004
@@ -20,6 +20,8 @@
 // mission.cpp
 ////////////////////////////////////////////////////////////////////////
 
+#include <iostream>
+
 #include "mission.h"
 #include "fileio.h"
 #include "strutil.h"