unknown, due to recursion
#1

I compiled with -d3
And thats the output

Header size: 7128 bytes
Code size: 507396 bytes
Data size: 490136 bytes
Stack/heap size: 1024000 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 2028660 bytes

What shoud I do to fix it?
Reply
#2

It basically means the compiler doesn't know the maximum stack size because you're using a technique called "recursion". Recursion is where you call something from within itself. Example:

pawn Код:
stock MyFunction()
{
     return MyFunction();
}
That will crash the server, but it's just an example. In some cases it can utilized in a much more useful and productive way.
Reply
#3

Ah thanks I will change this might works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)