SA-MP Forums Archive
Issue involving a warning i cannot resolve (Embarrassing) - 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: Issue involving a warning i cannot resolve (Embarrassing) (/showthread.php?tid=217928)



Issue involving a warning i cannot resolve (Embarrassing) - Armed2 - 29.01.2011

I am developing a Chat system (Roleplay style) for some people who requested it.
I hit this wall, where it once when i did a compile came up with this:

Код:
F:\0.3c\filterscripts\ChatSystem.pwn(217) : warning 203: symbol is never used: "ret_memcpy"
I did my best to resolve it. i commented all the code in which i had written since the last compile (no errors/warnings)
but it still remained. I also tried Closing Pawno, and re-opening it, then opening the script.

Now you are probably thinking "Its a variable that isn't being use" or something along those lines.
This is why i posted here. in the whole script, the phrase "ret_memcpy" doesn't exist.
Infact. "ret" or "memc" dont exist in the code. the only includes are a_samp and dini.

If you have any suggestions would greatly appreciate it thanks.


Re: Issue involving a warning i cannot resolve (Embarrassing) - PeteShag - 29.01.2011

pawn Код:
#pragma unused ret_memcpy
on the top of your script.


Re: Issue involving a warning i cannot resolve (Embarrassing) - Armed2 - 29.01.2011

Thanks i will use it, but do you know what could cause it?


Re: Issue involving a warning i cannot resolve (Embarrassing) - PeteShag - 29.01.2011

No clue.


Re: Issue involving a warning i cannot resolve (Embarrassing) - Armed2 - 29.01.2011

Thanks anyway.