29.04.2010, 22:50
Bem, estou me deparando com estes erros ao tentar compilar:
Linhas com erro 047:
As outras Linhas com erro 047 sгo como a Linha 6474.
Em referкncia ao erro 047 encontrei isso, mas nгo entendi muito bem:
Erro 025 e erro 021:
Desculpe mas й que nгo entendi muito bem esses erros, se alguйm puder me ajudar eu agradeзo.
Quote:
(4182) : error 047: array sizes do not match, or destination array is too small (6474) : error 047: array sizes do not match, or destination array is too small (6575) : error 047: array sizes do not match, or destination array is too small (6764) : error 047: array sizes do not match, or destination array is too small (6997) : error 047: array sizes do not match, or destination array is too small (7154) : error 047: array sizes do not match, or destination array is too small (7299) : error 047: array sizes do not match, or destination array is too small (7591) : error 047: array sizes do not match, or destination array is too small (7679) : error 047: array sizes do not match, or destination array is too small (8139) : error 047: array sizes do not match, or destination array is too small (17784) : error 025: function heading differs from prototype (17785) : error 021: symbol already defined: "strtok" (17795) : error 047: array sizes do not match, or destination array is too small C(22384) : warning 203: symbol is never used: "ret_memcpy" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 13 Errors. |
Код:
new idx; tmp = strtok(text, idx); //erro aqui (4182) if(LStep[playerid] == 1)
Код:
new x_info[128]; x_info = strtok(cmdtext, idx); //erro aqui (6474) if(!strlen(x_info))
Em referкncia ao erro 047 encontrei isso, mas nгo entendi muito bem:
Quote:
Originally Posted by pawn-lang.pdf
Error 047 - array sizes do not match, or destination array is too small:
For array assignment, the arrays on the left and the right side of the assignment operator must have the same number of dimensions. In addition:
|
Код:
strtok(string[],&idx,seperator = ' ') //erro aqui (17784) 025 { //erro aqui (17785) 021