SA-MP Forums Archive
How to fix this warning - 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: How to fix this warning (/showthread.php?tid=529246)



How to fix this warning - Banditukas - 01.08.2014

Код:
y_utils.inc(166) : warning 201: redefinition of constant/macro (symbol "FLOAT_NAN")



Re: How to fix this warning - [XST]O_x - 01.08.2014

You probably have 2 includes which have #define FLOAT_NAN.
Find this line and delete it in one of them.


Re: How to fix this warning - Banditukas - 01.08.2014

If i delete from y_utils.inc i get an error when i delete invalid function or declaration


Re: How to fix this warning - [XST]O_x - 01.08.2014

Don't delete it. You'll have to search where else you've got the line #define FLOAT_NAN, and change the name.


Re: How to fix this warning - Banditukas - 01.08.2014

I understand but i have never self add float_nan. I use YSI 4.0 downloaded from github newest. Then i download ZeeX's AMX library, and in pawno/amx folder i add that files, because ****** wrote. Here https://sampforum.blast.hk/showthread.php?pid=3125766#pid3125766 . I look that in amx folder how i said i add, but i don't found you self can download maybe you found.