Mail Archives: djgpp/1999/08/18/13:45:29
Hello all,
After installing gcc295b and gpp295b I noticed that I can't include 'string'
anymore. So 'test.cc':
---------------------
#include <iostream>
#include <string>
void main()
{
string s = "blabla";
cout << "test " << s << endl;
}
---------------------
compiled with 'gxx test.cc', will produce an error:
In file included from c:/djgpp/lang/cxx/alloc.h:21,
from c:/djgpp/lang/cxx/std/bastring.h:39,
from c:/djgpp/lang/cxx/string:6,
from test.cc:2:
c:/djgpp/lang/cxx/stl_alloc.h:742: invalid member template declaration
c:/djgpp/lang/cxx/stl_alloc.h:780: invalid member template declaration
c:/djgpp/lang/cxx/stl_alloc.h:817: invalid member template declaration
c:/djgpp/lang/cxx/stl_alloc.h:858: invalid member template declaration
c:/djgpp/lang/cxx/stl_alloc.h:961: empty component declaration
c:/djgpp/lang/cxx/stl_alloc.h:961: parse error before `<'
I don't see what I'm doing wrong here, does this have anything to do with
-remap? Can't I say <string> anymore?
Besides that, the readme.djgpp mentions that I'd better install djdev203,
but I thought that was still developer-alpha? (anyway, it seems well-hidden,
can't find it *anywhere* :)
Thanks!
Rob Kramer
robk AT cyberway DOT com DOT sg
- Raw text -