#pragma dynamic default value
#4

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
As far as I know, the value of #pragma dynamic must be greater than the value of the estimated maximum usage (to remove the recursion warning). In my script, I have it 10k.
I know that, I'm just wondering what it's set to by default. Clearly the compiler works out how much memory might be needed, so I guess that is how much is allocated? But when recursion becomes a factor, you get that warning in the compiler box and then you have to increase the dynamic memory allocation (with #pragma dynamic) to get rid of it. Why can't (or doesn't) the compiler just do this anyway?
Reply


Messages In This Thread
#pragma dynamic default value - by MP2 - 24.07.2013, 03:25
Re: #pragma dynamic default value - by Kyle - 24.07.2013, 13:33
Re: #pragma dynamic default value - by Red_Dragon. - 24.07.2013, 15:10
Re: #pragma dynamic default value - by MP2 - 27.07.2013, 15:47
Re: #pragma dynamic default value - by MP2 - 27.07.2013, 16:17
Re: #pragma dynamic default value - by MP2 - 27.07.2013, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)