STL Question.
Chris Dern
cdern@pre.com
Wed Feb 25 19:37:00 GMT 1998
The program dumps core, when run. If I use -frepo, it won't link correctly
after collect2 decideds to re-compile (-fpreo), the linker complains of
missing functions.
Joe Buck wrote:
> > Quick question.
> > I'm trying to nest a STL list in a map, like so.
> >
> > typedef list<Base*> BaseList;
> >
> > map<String,BaseList> itsMap;
> >
> >
> > However this won't compile correctly if I use the repo, and if I just
> > try and compile it, I get a core dump. Anyone else have problems with
> > this?
>
> What dumps core, the program or the compiler?
>
> While we should investigate the problem, there is no good reason to use
> -frepo on your platform. You'll get pretty much the same executable
> without it (if your binutils is recent enough: 2.8.0.x or newer).
More information about the Gcc
mailing list