libstdc++-v3 useable ?

Dirk Mueller dmuell@gmx.net
Fri Jan 26 12:41:00 GMT 2001


On Fre, 26 Jan 2001, Phil Edwards wrote:

> And the error message is...?

appended. 

The second testcase that does not compile (but with gcc 2.95.2, egcs 1.1.2, 
some solaris CC): 

#include <vector>
#include <deque.h>

typedef std::vector <char *> foo;

int main()
{
    foo::iterator iter;
    foo a;

    for (iter = a.begin(); iter != a.end(); iter++);
}

output appended, too. Its again related to the inclusion of "*.h" header 
files, they're somehow screwing up compilation. commenting out the deque.h 
makes it compile. 

> "std::vector<char>" and try that.  (Or if you really want to hold pointers,
> then push a pointer; "&e" in this case.)

Sorry, it was a typo. 


Dirk


More information about the Libstdc++ mailing list