On Wed, Aug 25, 2004 at 12:40:43PM -0600, Warren Young wrote:
> I would have said that the right solution is to 'new' that Element
> object, or to declare it globally. The stack is not intended for
> storing megabytes of data, especially temporary data.
Well, yes. Normally, I'd do that, but I
On Wed, Aug 25, 2004 at 07:16:45PM +0200, Gerrit P. Haase wrote:
> Increase the stack:
> g++ -Wall -Wl,--stack=800 -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.
Luke wrote:
> I am having some trouble with the std::vector class in g++ 3.3.3. If I
> compile the following program and run it, it segfaults in the call to
> push_back; reducing the array in Solution to 512*1024 makes the code run
> OK.
> If I compile it with g++ 3.2.1 under Linux, the program
3 matches
Mail list logo