libstdc++-v3 useable ?
Dirk Mueller
dmuell@gmx.net
Fri Jan 26 10:25:00 GMT 2001
Hi,
I'm not sure if I'm expecting too much or if I'm doing something wrong
, but I can't get even the most simple STL based program to compile with any
recent gcc CVS snapshot.
For example:
#include <vector.h>
int main()
{
vector <char *> vszbar;
vector <char *>::iterator iter;
for (iter = vszbar.begin(); iter != vszbar.end(); iter++);
}
does not compile. Okay, I heard that you dislike backward compatibility,
so I made a "legal" example, like:
#include <vector>
int main()
{
char e;
std::vector <char*> foo;
foo.push_back(e);
}
This program doesn't compile either. I'm clueless. Is libstdc++ not ready
for use yet or am I really doing something wrong?
Dirk
More information about the Libstdc++
mailing list