SA-MP Forums Archive
PAWNCC Compiler crashing, though making the new files - 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: PAWNCC Compiler crashing, though making the new files (/showthread.php?tid=439060)



PAWNCC Compiler crashing, though making the new files - SomebodyAndMe - 23.05.2013

So I have a kind of an annoying problem here, every time I compile the script, at the last millisecond the compiler crashes, but the new files are made.



Translation:
"Pawn Compiler libary werkt niet meer" = Pawn Compiler libary stopped working
"Er wordt naar een oplossing voor het probleem gezocht" = We're searching to a solution for your problem.
Anyone got a clue why this is happening?


Re: PAWNCC Compiler crashing, though making the new files - Scenario - 23.05.2013

Hm. I see you have a lot of stack information. Perhaps allocate more memory to the compiler..? (At least, I think that's what this does)

#pragma dynamic <value>


Re: PAWNCC Compiler crashing, though making the new files - SomebodyAndMe - 23.05.2013

Added this to the code:

pawn Код:
#pragma dynamic 200000
Still comes up with the same. though the headersize texts aren't showing up anymore.

Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

[Finished in 12.4s with exit code 255]



Re: PAWNCC Compiler crashing, though making the new files - gtakillerIV - 23.05.2013

Like RealCop told ya.

Use #pragma dynamic 3996516

Value is in bytes.


Re: PAWNCC Compiler crashing, though making the new files - SomebodyAndMe - 23.05.2013

Quote:
Originally Posted by ******
Посмотреть сообщение
Have you tried with the standard editor instead of third party ones?
It's sublime text 2, when I press F5 as in Pawno, it just lets the pawncc.exe compile which is located in a different folder, though this has always been working normally, I haven't changed anything lately to the script, just wanted to compile it, and this came up.

Quote:
Originally Posted by gtakillerIV
Посмотреть сообщение
Like RealCop told ya.

Use #pragma dynamic 3996516

Value is in bytes.
Tested that, didn't work.


Re: PAWNCC Compiler crashing, though making the new files - SomebodyAndMe - 23.05.2013

This is kinda funky, I tried it with Pawno, no problems. Compiles fine.

I'll take a look into it why Sublime Text 2 is acting so weird. Might try reinstalling it.

Though thanks for all the help.


Re : PAWNCC Compiler crashing, though making the new files - Enchancer - 21.03.2014

I have the same problem sometimes... Fixed by switching encoding with notepad++ (iso to utf, utf to iso).
Did someone found a solution ?