[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs IceBlock.hh,1.18,1.19
From: |
Ingo Ruhnke |
Subject: |
Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs IceBlock.hh,1.18,1.19 |
Date: |
07 Jun 2002 22:45:46 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
address@hidden writes:
> -#include "../boost/smart_ptr.hpp"
> -#include "../WorldObj.hh"
> #include "../WorldObjData.hh"
> #include "../editor/SpriteEditorObj.hh"
> +
> +class WorldObj;
> +
> +namespace std {
> + template <class T> class char_traits;
> + template <class T1, class T2> struct basic_ofstream;
> + typedef struct basic_ofstream<char, char_traits<char> > ofstream;
> +}
This is illegal in C++, you are not allowed to define something in
namespace std as far as I know. It might also be a good portability
killer when you use another compiler.
--
Advent: http://www.freesoftware.fsf.org/advent/
Feuerkraft: http://www.freesoftware.fsf.org/feuerkraft/
Pingus: http://pingus.seul.org/ || ICQ: 59461927
Home: http://pingus.seul.org/~grumbel/ || JabberID: address@hidden
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs IceBlock.hh,1.18,1.19,
Ingo Ruhnke <=