SA-MP Forums Archive
problem compile - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: problem compile (/showthread.php?tid=263306)



problem compile - NekErM@N - 21.06.2011

Hello I am gamemode taken from someone and tried to compile but it gives me following errors
Код:
C:\Documents and Settings\Ionut\Desktop\Virtual Network\pawno\include\utils.inc(51) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\Ionut\Desktop\Virtual Network\pawno\include\dutils.inc(355) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\Ionut\Desktop\Virtual Network\pawno\include\Dini.inc(46) : error 017: undefined symbol "MAX_STRING"
C:\Documents and Settings\Ionut\Desktop\Virtual Network\pawno\include\Dini.inc(46) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\Ionut\Desktop\Virtual Network\pawno\include\Dini.inc(46) : error 036: empty statement
C:\Documents and Settings\Ionut\Desktop\Virtual Network\pawno\include\Dini.inc(46) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
end line 46
Код:
#define COLOR_YELLOW2 0xF5DEB3AA
I do not know what I can do: |
Excuse my English language


Re: problem compile - [DDC]Delight - 21.06.2011

Error 1: You already got "count" defined somewhere else. (EDIT: dutils.inc and utils.inc must be both using "count". Rename 1 of the 2)
Error 2: open Dini and type this ontop of the include:
pawn Код:
#define MAX_STRING 256