warning 201 from YSI
#1

how fix this warning?
Код:
C:\Users\cuchi\Desktop\poco2\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
line error
Код:
	TextDrawUseBox(HinhAnhDangNhap15, true);
server log
Код:
v0.3.7-R2, ©2005-2015 SA-MP Team

[18:09:48] filterscripts = ""  (string)
[18:09:48] 
[18:09:48] Server Plugins
[18:09:48] --------------
[18:09:48]  Loading plugin: MapAndreas
[18:09:48]   Loaded.
[18:09:48]  Loading plugin: mysql
[18:09:49]  >> plugin.mysql: R41-4 successfully loaded.
[18:09:49]   Loaded.
[18:09:49]  Loading plugin: sscanf
[18:09:49] 

[18:09:49]  ===============================

[18:09:49]       sscanf plugin loaded.     

[18:09:49]          Version:  2.8.2        

[18:09:49]    © 2012 Alex "******" Cole  

[18:09:49]  ===============================

[18:09:49]   Loaded.
[18:09:49]  Loading plugin: streamer
[18:09:49] 

*** Streamer Plugin v2.9.1 by Incognito loaded ***

[18:09:49]   Loaded.
[18:09:49]  Loading plugin: Whirlpool
[18:09:49]  
[18:09:49]  ==================
[18:09:49]  
[18:09:49]   Whirlpool loaded
[18:09:49]  
[18:09:49]  ==================
[18:09:49]  
[18:09:49]   Loaded.
[18:09:49]  Loaded 5 plugins.

[18:09:49] 
[18:09:49] Filterscripts
[18:09:49] ---------------
[18:09:49]   Loaded 0 filterscripts.

[18:09:49] This server folder has been put together by Ricky Phelps.
[18:09:49]  
[18:09:49]  
[18:09:49]  
[18:09:49]  ======================================= 
[18:09:49]  |                                     | 
[18:09:49]  |        YSI version 4.00.0001        | 
[18:09:49]  |        By Alex "******" Cole        | 
[18:09:49]  |                                     | 
[18:09:49]  ======================================= 
[18:09:49]  
[18:09:49] *** YSI Warning: y_malloc set up via "CallLocalFunction", memory corruption is a remote possibility
[18:09:49] 
|-------------PoCo-------------|
[18:09:49] -------Gamemode By CuChip-------
[18:09:49] |-------------PoCo-------------|

[18:09:49] [Du Lieu] Ket Noi Vung Du Lieu Thanh Cong
[18:09:49] Number of vehicle models: 0
Reply
#2

Could you search your gamemode for something like "#define isnull"? If you find it, remove the whole line as it is already provided by YSI.
Reply
#3

you didn't need to post the server log nor that fake line, first of all let me explain what happened here, line 430 is not meant to be the line in your script if you read the warning it says:
Код:
\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(430)
see that, it gave you the location of the file, it's the y_utils include it already has isnull defined which is also either defined in your script or in another include that's what redefinition of constant/macro means, what you can do is either search through your includes and remove the redefinition of constant/macro or rename the one in y_utils but idk if that will cause problems i suggest renaming/removing the other one.
Reply
#4

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Could you search your gamemode for something like "#define isnull"? If you find it, remove the whole line as it is already provided by YSI.
i can't see define isnull and remove the redefinition of constant/macro but it not working
Reply
#5

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
you didn't need to post the server log nor that fake line, first of all let me explain what happened here, line 430 is not meant to be the line in your script if you read the warning it says:
Код:
\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(430)
see that, it gave you the location of the file, it's the y_utils include it already has isnull defined which is also either defined in your script or in another include that's what redefinition of constant/macro means, what you can do is either search through your includes and remove the redefinition of constant/macro or rename the one in y_utils but idk if that will cause problems i suggest renaming/removing the other one.
If someone takes his time to post a reply to help you, you take your time to read his post.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)