[Ajuda] warning 208: function with tag result used before definition, forcing reparse
#1

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

PHP код:
forward bool:IsValidInputEmail(const input[]);
bool:IsValidInputEmail(const input[]) 
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

Код:
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.
meus parametros do pawncc
PHP код:
"C:\Users\PeterLinkson\Desktop\All-Star\pawno\pawncc.exe" "$(FILE_NAME)" "-;+""-v2","-d3""-\\)+" 
faz muito tempo que nгo posto uma ajuda aqui, eu procurei muito, mas nгo consegui achar uma soluзгo ainda..

Код:
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;
}
nгo, nгo й minha funзгo que estб com problemas

@resolvido https://github.com/Zeex/pawn/issues/193
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)