17/02/2024 01:33
(16/02/2024 19:27)xbruno1000x Escreveu:(16/02/2024 18:10)manow6523 Escreveu:(16/02/2024 15:51)xbruno1000x Escreveu: No topo:
Código:#pragma disable warning 202
#pragma disable warning 213
Código:E:\open.mp-win-x86\Server\qawno\include\Pawn.RakNet.inc(440) : warning 219: local variable "bs" shadows a variable at a preceding level
C:\open.mp-win-x86\Server\qawno\include\Pawn.RakNet.inc(519) : warning 219: local variable "bs" shadows a variable at a preceding level
C:\open.mp-win-x86\Server\qawno\include\Pawn.RakNet.inc(584) : warning 219: local variable "bs" shadows a variable at a preceding level
C:\open.mp-win-x86\Server\qawno\include\Pawn.RakNet.inc(596) : warning 219: local variable "bs" shadows a variable at a preceding level
C:\open.mp-win-x86\Server\qawno\include\Pawn.RakNet.inc(614) : warning 219: local variable "bs" shadows a variable at a preceding level
C:\open.mp-win-x86\Server\qawno\include\Pawn.RakNet.inc(629) : warning 219: local variable "bs" shadows a variable at a preceding level
C:\open.mp-win-x86\Server\qawno\include\Pawn.RakNet.inc(643) : warning 219: local variable "bs" shadows a variable at a preceding level
Nesse caso o recomendado também seria ocultar os warnings 219?
Eu costumo ocultar 202, 213 e 219. Quando você começa a usar o compilador da comunidade eles atrapalham muito, são tantos warnings que fica difícil de ver os erros.
Entendi, obrigado pelos esclarecimentos. E sobre essa função não funcionar no Open-MP:
Código:
stock ConverterTexto(string[])
{
for(new arraysize = 0; arraysize < strlen(string); arraysize++)
{
if(strfind(string, "â", true) != -1){new pos = strfind(string, "â", true); strdel(string, pos, pos+strlen("â")); strins(string, "™", pos, sizeof(pos));}
if(strfind(string, "ã", true) != -1){new pos = strfind(string, "ã", true); strdel(string, pos, pos+strlen("ã")); strins(string, "š", pos, sizeof(pos));}
if(strfind(string, "á", true) != -1){new pos = strfind(string, "á", true); strdel(string, pos, pos+strlen("á")); strins(string, "˜", pos, sizeof(pos));}
if(strfind(string, "é", true) != -1){new pos = strfind(string, "é", true); strdel(string, pos, pos+strlen("é")); strins(string, "ž", pos, sizeof(pos));}
if(strfind(string, "ú", true) != -1){new pos = strfind(string, "ú", true); strdel(string, pos, pos+strlen("ú")); strins(string, "“", pos, sizeof(pos));}
if(strfind(string, "ó", true) != -1){new pos = strfind(string, "ó", true); strdel(string, pos, pos+strlen("ó")); strins(string, "¦", pos, sizeof(pos));}
if(strfind(string, "ê", true) != -1){new pos = strfind(string, "ê", true); strdel(string, pos, pos+strlen("ê")); strins(string, "Ÿ", pos, sizeof(pos));}
if(strfind(string, "í", true) != -1){new pos = strfind(string, "í", true); strdel(string, pos, pos+strlen("í")); strins(string, "¢", pos, sizeof(pos));}
if(strfind(string, "ç", true) != -1){new pos = strfind(string, "ç", true); strdel(string, pos, pos+strlen("ç")); strins(string, "œ", pos, sizeof(pos));}
if(strfind(string, "ô", true) != -1){new pos = strfind(string, "ô", true); strdel(string, pos, pos+strlen("ô")); strins(string, "§", pos, sizeof(pos));}
}
}
O que pode ser?