This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++-v3 useable ?
- To: "Richard D. Copeland, Jr." <rick at proceler dot com>
- Subject: Re: libstdc++-v3 useable ?
- From: Dirk Mueller <dmuell at gmx dot net>
- Date: Fri, 26 Jan 2001 21:03:05 +0100
- Cc: libstdc++ at gcc dot gnu dot org
- References: <20010126192444.A16415@rotes20.wohnheim.uni-kl.de> <3A71D508.3050908@proceler.com>
On Fre, 26 Jan 2001, Richard D. Copeland, Jr. wrote:
> > #include <vector.h>
> >
> > int main()
> > {
> > vector <char *> vszbar;
> > vector <char *>::iterator iter;
> > for (iter = vszbar.begin(); iter != vszbar.end(); iter++);
> > }
> > std::vector <char*> foo;
> > foo.push_back(e);
> > }
> >
> The second example shouldn't work (i.e. you're trying to push_back a
> char into a collection of char*'s...)
Damn. Sorry. I stripped this down from a 32k size file. I'll try to do a
valid testcase again. (will post in a few minutes).
> Not sure about the first, though.
The first one compiles fine with every other compile I have access to. I
don't understand why libstdc++-v3/gcc3 doesn't like it. Any ideas?
Dirk