Mail Archives: djgpp/1998/03/23/18:19:21
Ahn Ki-yung wrote:
> I'm using DJGPP with RHIDE(1.4b) under WINDOWS95.
> Recently I deleted version 2.7.2 and I've installed gcc280b.zip,
> gpp280bzip, lgpp280b.zip. I'm studying STL and the ANSI/ISO C++ Draft
> Standard.
> Almost of it works well. But the "string" class does not work well.
> Here is a code that compiler does not compile
> > // stlstydy.cc
> > #include <iostream>
> > #include <map>
> > #include <string>
> >
> > void main ()
> > {
> > map< string , int > phone_list;
> > }
>
> When I compile it, there comes a messege in a message window in RHIDE.
> > Compiling stlstudy.cc
> > c:/djgpp/lang/cxx/stl_tree.h<486> Error: virtual memory exhausted
> > there were some errors
>
> Why isn't this working? please help me!
I found a way to use this "string" class. You should run in DOS mode.
Then it does not complan with virtual memory. I think it conflicts with
some of windows memory.
I think this is a bug. Can't us make DJGPP compile STL in Windos ?
- Raw text -