SA-MP Forums Archive
[Ajuda] Warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Warnings (/showthread.php?tid=526776)



Warnings - FernandoSS - 19.07.2014

Como resolver isso?

Код:
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\cpstream.inc(38) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\cpstream.inc(38) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\cpstream.inc(38) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\sscanf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\sscanf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\sscanf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\sscanf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\DOF2.inc(1283) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\DOF2.inc(1314) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Fernando\Desktop\CVV3Z~1\pawno\include\DOF2.inc(1337) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Warnings.



Re: Warnings - drop - 19.07.2014

voce colocou include na pasta certa?


Re: Warnings - FernandoSS - 19.07.2014

Ja resolvi, eu tinha criado uma new string[] global, e nгo pudia, ai criei locais e foi.


Re: Warnings - Schocc - 19.07.2014

Quanto menos strings melhor.

Pode usar uma para cada sistema, desde que saiba usar, uma string basta.