SA-MP Forums Archive
Really weird compiler crash - 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: Really weird compiler crash (/showthread.php?tid=422452)



Really weird compiler crash - trollkemada - 13.03.2013

My compiler crashes when trying to compile this code:

http://pastebin.com/WgXqNFz1

Does it also happen to you? Anyone know why is it?


Respuesta: Really weird compiler crash - trollkemada - 13.03.2013

Using the last version of the compiler, i get:

Pawn compiler 4.0.4733 Copyright © 1997-2012, ITB CompuPhase

Assertion Failed: dim[cur+1]==0, function adjust_indirectiontables, file sc1.c, line 2622.
ABNORMAL TERMINATION


Re: Really weird compiler crash - Scenario - 13.03.2013

It's due to you using "function" to define the new function. Use "stock" instead.


Respuesta: Really weird compiler crash - trollkemada - 13.03.2013

I've been using that without problems for along time


Re: Really weird compiler crash - Calabresi - 13.03.2013

Isn't SAMP using a special compiler version based on 3.6?