A 2 unknown warnings - 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: A 2 unknown warnings (
/showthread.php?tid=361638)
A 2 unknown warnings -
Lorenzo9Oz - 21.07.2012
There is an unknown two warnings which doesn't affect the GM but i wannaget rid of them
Can you help me plz
Код:
C:\Documents and Settings\Administrator\Desktop\GTA SERVER\gamemodes\TotalAgression0.1.pwn(4282) : warning 203: symbol is never used: "ret_memcpy"
C:\Documents and Settings\Administrator\Desktop\GTA SERVER\gamemodes\TotalAgression0.1.pwn(4282) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
Re: A 2 unknown warnings -
[KHK]Khalid - 21.07.2012
Remove the definations of strtok and ret_memcpy!
Re: A 2 unknown warnings -
Lorenzo9Oz - 21.07.2012
I don't have any one
Re: A 2 unknown warnings -
[KHK]Khalid - 21.07.2012
Yes, you do. The compiler complains that you defined strtok and ret_memcpy and never used them. Use Ctrl + F to search.
Re: A 2 unknown warnings -
[A]ndrei - 21.07.2012
give the freaking code and ill do it for you or seach up ret_memcpy and delete the line i thinks its like a new or i forget just give the code...
Re: A 2 unknown warnings -
Lorenzo9Oz - 21.07.2012
of? :P the GM?
Re: A 2 unknown warnings -
Vince - 21.07.2012
There are 3 solutions:
- Remove the functions from your script, or
- Prefix them with 'stock', or
- use #pragma unused
Re: A 2 unknown warnings -
Ronaldo_raul™ - 21.07.2012
Quote:
Originally Posted by Vince
There are 3 solutions: - Remove the functions from your script, or
- Prefix them with 'stock', or
- use #pragma unused
|
+1
pawn Код:
#pragma unused ret_memcpy
#pragma unused strtok
Re: A 2 unknown warnings -
Lorenzo9Oz - 21.07.2012
Thanks guys