why doesn't STL work with gcc 3.2.2?

Alex Vinokur alexvn@connect.to
Wed Jun 25 05:18:00 GMT 2003


"Brent Phillips" <mynekos2000@yahoo.com> wrote in message news:20030625024748.14035.qmail@web41812.mail.yahoo.com...
> Hi,
>
> I'm using a Slackware 9 Linux system, gcc 3.2.2. The
> GNU STL that comes with it seems totally broken - the
> following "Hello World" program breaks horribly:
>
> #include <stdio.h>
> #include <stdlib.h>
> #include <vector>

using namespace std;

> int main(int argc, char** argv)
> {
>   printf("Hello world!\n");
>   exit(0);
> }
>
> A sample of the compiler error output is below (it's
> really long so I didn't include it all here.)
>
> What do I need to do so STL works?
> Is this a Slackware-specific problem?
> Maybe I need to go back to 3.0, or up to 3.3?
>
> thanks so much!
>
> Brent
>
[snip]

   ==========================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://www.simtel.net/pub/oth/19088.html
     http://sourceforge.net/users/alexvn
   ==========================================






More information about the Gcc-help mailing list