Trouble with std::vector in g++

Luke Stras stras@ecf.toronto.edu
Wed Aug 25 17:53:00 GMT 2004


On Wed, Aug 25, 2004 at 07:16:45PM +0200, Gerrit P. Haase wrote:

> Increase the stack:
> g++ -Wall -Wl,--stack=8000000 -o etest etest.cc
> 
> This works for me with gcc-3.4.1(tm).  The default stack for Cygwin
> executables is 2MB which seems to be too small for your program.

This seems to work.

Now, to see if it makes the problem in the *real* program (and not just
the stripped-down version) go away...

-- 
Luke Stras <stras@utias.toronto.edu>
"The meek can have the Earth; the rest of us have other plans" 
  --Henry Spencer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list