redefinition error (constant macros) - 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: redefinition error (constant macros) (
/showthread.php?tid=658139)
redefinition error (constant macros) -
GameOvr - 24.08.2018
I have this error
Код:
C:\Program Files\Sublime Text 3\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
I tried all the fixes in the forum but still gives this error...
redefinition is in zcmd
zcmd code:
Код:
#if !defined isnull
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
y_utils code:
Код:
P:D(bool:isnull(str[]));
#define isnull(%1) \
((%1[0] == 0) || (%1[0] == 1 && %1[1] == 0))
help me plz I'm not a good scripter at all
Re: redefinition error (constant macros) -
Calisthenics - 24.08.2018
Include YSI libraries after a_samp.inc and before zcmd.inc
Re: redefinition error (constant macros) -
GameOvr - 25.08.2018
Quote:
Originally Posted by Calisthenics
Include YSI libraries after a_samp.inc and before zcmd.inc
|
Thanks bro it works