Hi Dom,

> Answer: stop making temporary copies on the stack. Seriously - assume we have 
> a function that looks like this:

Fair enough; my concern is somewhat different though. I want to 
know why we are getting stack overflows. The temporary variable 
that caused the problem the other day was around 1K and it was in 
the startup code, and there were only about half a dozen functions 
on the stack. At this stage of the loading process we should have 
loads of space between the stack and the heap, not less than 1K. 
We need to find out what is causing this and fix it, but I am not 
sure how exactly to go about it.

Tomas

Reply via email to