What's this ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What's this ? (
/showthread.php?tid=365601)
What's this ? -
MadafakaPro - 03.08.2012
After compiling my script i get this whats the problem with this??
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 11284 bytes
Code size: 2202964 bytes
Data size: 9174136 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:11404768 bytes
Re : What's this ? -
lelemaster - 03.08.2012
There is no problem, it's just the compiler.
Re: What's this ? -
[MM]RoXoR[FS] - 03.08.2012
Add this to top
Re: What's this ? -
Vince - 03.08.2012
Just optimize the script!! #pragma dynamic is a workaround, not a fix! My 17k lines script cannot generate this warning.
Respuesta: What's this ? -
HarlemSAMP - 03.08.2012
I got 95k lines and i never experience any issues with a warning compiler, also i do not have any warning, it's interesting since you don't get any warning from a line, just a compile warning
AW: Respuesta: What's this ? -
Nero_3D - 03.08.2012
Quote:
Originally Posted by HarlemSAMP
I got 95k lines and i never experience any issues with a warning compiler, also i do not have any warning, it's interesting since you don't get any warning from a line, just a compile warning
|
Thats because in most cases one line wont cause this warning (its possible though)
Here is an examples how to case that warning
pawn Код:
stock Func1() {
new // a little bit over 4000 cells in one func
array1[8],
array2[16],
array3[32],
array4[64],
array5[128],
array6[256],
array7[512],
array8[1024],
array9[2048]
;
}
Also if this warning appears the stack and the heap can collide, means data lose within a function