Mail Archives: djgpp/1996/10/21/16:47:36
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 -