SA-MP Forums Archive
[DUV] Warning de String - 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: [DUV] Warning de String (/showthread.php?tid=187409)



[DUV] Warning de String - luandriftlogkdr - 02.11.2010

Ollha os warnings:
Код:
D:\Luan\LuanArquivos\LuuaN™\LuuaN™\LuuaN™\Projeto SA-MP\Servidor\pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Luan\LuanArquivos\LuuaN™\LuuaN™\LuuaN™\Projeto SA-MP\Servidor\pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Luan\LuanArquivos\LuuaN™\LuuaN™\LuuaN™\Projeto SA-MP\Servidor\pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Luan\LuanArquivos\LuuaN™\LuuaN™\LuuaN™\Projeto SA-MP\Servidor\pawno\include\dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Luan\LuanArquivos\LuuaN™\LuuaN™\LuuaN™\Projeto SA-MP\Servidor\pawno\include\dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Luan\LuanArquivos\LuuaN™\LuuaN™\LuuaN™\Projeto SA-MP\Servidor\pawno\include\dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           9556 bytes
Code size:          1551756 bytes
Data size:          3604668 bytes
Stack/heap size:      16384 bytes; estimated max. usage=7864 cells (31456 bytes)
Total requirements: 5182364 bytes

6 Warnings.
Comй q resolve iissso?


Re: [DUV] Warning de String - Macintosh - 02.11.2010

Substitui por 2 ou apagar *-*


Re: [DUV] Warning de String - Macintosh - 02.11.2010

Substitui por 2 ou apaga *-*

@EDIT
O.O mals pelo double.


Re: [DUV] Warning de String - lexmem - 02.11.2010

provavelmente deve ter uam ..

pawn Код:
new string [256]
Algo +- assim...

Se tiver essa new apaga ela...

Se vocк colocar 1 ou 2 na frente tambйm funciona..sу que em todos os locais do comando que ela estiver string..vai teque mudar pra string2 etc..