www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/21/16:47:36

Date: Mon, 21 Oct 1996 16:23:11 -0400 (EDT)
From: Steve <steve-mi AT shell DOT cinternet DOT net>
To: djgpp AT delorie DOT com
Subject: STL with djgpp - help!
Message-ID: <Pine.LNX.3.95.961021160318.24993B-100000@shell.cinternet.net>
MIME-Version: 1.0

I've having trouble compiling with gcc (or gxx) using the Standard
 Template Libaray classes.  For example, the following simple program:

#include <vector.h>

int main()
{
   vector<int> v;

   return (0);
}

doesn't compile.  It gives a zillion errors about stuff from
 various include files.  The first first error occurs in djgpp\
lang\cxx\std\stddef.h line 15, something about "parse error before
= ".  I compiled using gcc -c myfile.cc, and gxx -c myfile.cc.  Nothing
seemed to work.  Any help would be greatly appreciated.

Thanks,
Steve Molitor, steve-mi AT moorelab DOT com
 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019