PDA

View Full Version : My program created with EM/32 gives me Pharlap Error 10049: "ran out of stack buffer"


R. T. (Fortran Man)
09-03-2003, 05:51 PM
My program created with EM/32 gives me Pharlap Error 10049: "ran out of stack buffer" at run time. Increasing the stack size does not help. How can I debug my code?

Lahey Support
09-03-2003, 06:06 PM
Try compiling with the following options: /B /I /R /Q1 /L /A2. You may find that an array subscript is out of bounds or some other problem that's causes the stack to run over. Refer to the EM/32 Programmer's Reference, "Chapter 2: Configuring the Compiler" for descriptions of the options.