06.10.2017, 16:27
(
Последний раз редактировалось PeterLinkson; 07.10.2017 в 21:41.
)
Leia antes de comentar
Como alguns sabem esse warning aparece quando vocк chama a funзгo com tag antes dela existir, e a soluзгo para o problema й por um forward com a tag e os parametros da funзгo
isso atй que funciona, sу que eu baixei o compilador do zeex versгo 3.10.2 e estou recebendo este aviso mesmo estando correto
meus parametros do pawncc
faz muito tempo que nгo posto uma ajuda aqui, eu procurei muito, mas nгo consegui achar uma soluзгo ainda..
nгo, nгo й minha funзгo que estб com problemas
@resolvido https://github.com/Zeex/pawn/issues/193
Como alguns sabem esse warning aparece quando vocк chama a funзгo com tag antes dela existir, e a soluзгo para o problema й por um forward com a tag e os parametros da funзгo
PHP код:
forward bool:IsValidInputEmail(const input[]);
bool:IsValidInputEmail(const input[])
Код:
includes\useful.inc(64) : warning 208: function with tag result used before definition, forcing reparse includes\useful.inc(133) : warning 208: function with tag result used before definition, forcing reparse modules\player\admin.inc(91) : warning 208: function with tag result used before definition, forcing reparse Pawn compiler 3.10.2 Copyright © 1997-2006, ITB CompuPhase Header size: 10004 bytes Code size: 412068 bytes Data size: 305164 bytes Stack/heap size: 16384 bytes; estimated max. usage=1771 cells (7084 bytes) Total requirements: 743620 bytes 3 Warnings.
PHP код:
"C:\Users\PeterLinkson\Desktop\All-Star\pawno\pawncc.exe" "$(FILE_NAME)" "-;+", "-v2","-d3", "-\\)+"
Код:
forward bool:IsValidInputEmail(const input[]);
bool:IsValidInputEmail(const input[])
{
for(new i; input[i] != EOS; ++i)
{
switch(input[i])
{
case '0'..'9', 'a'..'z','@','.','-','_': continue;
default: return false;
}
}
return true;
}
@resolvido https://github.com/Zeex/pawn/issues/193

