This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
libstdc++-v3 useable ?
- To: libstdc++ at gcc dot gnu dot org
- Subject: libstdc++-v3 useable ?
- From: Dirk Mueller <dmuell at gmx dot net>
- Date: Fri, 26 Jan 2001 19:24:44 +0100
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