Error codes & meanings!
#1

Heres something that's useful for everyone!!

error 001: expected token: "% s", but found "% s" - missing symbol "% s", but found "% s";
error 002: only a single statement (or expression) can follow each "case" -; error 002: only a single statement (or expression) can follow each "case" -;
error 003: declaration of a local variable must appear in a compound block -; error 003: declaration of a local variable must appear in a compound block -;
error 004: function "% s" is not implemented - function "% s" is not defined;; error 004: function "% s" is not implemented - function "% s" is not defined,;
error 005: function may not have arguments -; error 005: function may not have arguments -;
error 006: must be assigned to an array -; error 006: must be assigned to an array -;
error 007: operator cannot be redefined -; error 007: operator cannot be redefined -;
error 008: must be a constant expression; assumed zero -; error 008: must be a constant expression; assumed zero -;
error 009: invalid array size (negative or zero) -; error 009: invalid array size (negative or zero) -;
error 010: invalid function or declaration -; error 010: invalid function or declaration -;
error 011: invalid outside functions -; error 011: invalid outside functions -;
012 error: invalid function call, not a valid address -; error 012: invalid function call, not a valid address -;
error 013: no entry point (no public functions) -; error 013: no entry point (no public functions) -;
error 014: invalid statement; not in switch -; error 014: invalid statement; not in switch -;
error 015: "default" case must be the last case in switch statement -; error 015: "default" case must be the last case in switch statement -;
error 016: multiple defaults in "switch" -; error 016: multiple defaults in "switch" -;
error 017: undefined symbol "% s" - unknown symbol (undefined variable) "% s"; error 017: undefined symbol "% s" - unknown symbol (undefined variable) "% s";
error 018: initialization data exceeds declared size - unmatched in the array with the specified scope;; error 018: initialization data exceeds declared size - mismatch data in the array with the specified scope;;
error 019: not a label:% s "-; error 019: not a label:% s" -;
error 020: invalid symbol name "% s" -; error 020: invalid symbol name "% s" -;
error 021: symbol already defined:% s "-; error 021: symbol already defined:% s" -;
error 022: must be lvalue (non-constant) -; error 022: must be lvalue (non-constant) -;
error 023: array assignment must be simple assignment -; error 023: array assignment must be simple assignment -;
error 024: "break" or "continue" is out of context -; error 024: "break" or "continue" is out of context -;
error 025: function heading differs from prototype -; error 025: function heading differs from prototype -;
error 026: no matching "# if ..." -; Error 026: no matching "# if ..." -;
error 027: invalid character constant -; error 027: invalid character constant -;
error 028: invalid subscript (not an array or too many subscripts):% s "-; error 028: invalid subscript (not an array or too many subscripts):% s" -;
error 029: invalid expression, assumed zero - the wrong expression, no result; error 029: invalid expression, assumed zero - the wrong expression, no result;
error 030: compound statement not closed at the end of file -; error 030: compound statement not closed at the end of file -;
error 031: unknown directive -; error 031: unknown directive -;
error 032: array index out of bounds (variable "% s") -; error 032: array index out of bounds (variable "% s") -;
error 033: array must be indexed (variable "% s") -; error 033: array must be indexed (variable "% s") -;
error 034: argument does not have a default value (argument% d) -; error 034: argument does not have a default value (argument% d) -;
error 035: argument type mismatch (argument% d) -; error 035: argument type mismatch (argument% d) -;
036 error: empty statement -; 036 error: empty statement -;
037 error: invalid string (possibly non-terminated string) -; error 037: invalid string (possibly non-terminated string) -;
error 038: extra characters on line -; error 038: extra characters on line -;
error 039: constant symbol has no size -; error 039: constant symbol has no size -;
error 040: duplicate "case" label (value% d) -; error 040: duplicate "case" label (value% d) -;
error 041: invalid ellipsis, array size is not known -; error 041: invalid ellipsis, array size is not known -;
error 042: invalid combination of class specifiers -; error 042: invalid combination of class specifiers -;
error 043: character constant exceeds range for packed string -; error 043: character constant exceeds range for packed string -;
error 044: positional parameters must precede all named parameters -; error 044: positional parameters must precede all named parameters -;
error 045: too many function arguments -; error 045: too many function arguments -;
error 046: unknown array size (variable "% s") -; error 046: unknown array size (variable "% s") -;
error 047: array sizes do not match, or destination array is too small -; error 047: array sizes do not match, or destination array is too small -;
error 048: array dimensions do not match -; error 048: array dimensions do not match -;
error 049: invalid line continuation -; error 049: invalid line continuation -;
error 050: invalid range -; error 050: invalid range -;
error 051: invalid subscript, use "[]" operators on major dimensions -; error 051: invalid subscript, use "[]" operators on major dimensions -;
error 052: multi-dimensional arrays must be fully initialized -; error 052: multi-dimensional arrays must be fully initialized -;
error 053: exceeding maximum number of dimensions -; error 053: exceeding maximum number of dimensions -;
error 054: unmatched closing brace -; error 054: unmatched closing brace -;
error 055: start of function body without function header -; error 055: start of function body without function header -;
error 056: arrays, local variables and function arguments cannot be public (variable "% s") -; error 056: arrays, local variables and function arguments cannot be public (variable "% s") -;
error 057: unfinished expression before compiler directive -; error 057: unfinished expression before compiler directive -;
error 058: duplicate argument; same argument is passed twice -; error 058: duplicate argument; same argument is passed twice -;
error 059: function argument may not have a default value (variable "% s") -; error 059: function argument may not have a default value (variable "% s") -;
error 060: multiple "# else" directives between "# if ... # endif" -; error 060: multiple "# else" directives between "# if ... # endif" -;
error 061: "# elseif" directive follows an "# else" directive -; error 061: "# elseif" directive follows an "# else" directive -;
error 062: number of operands does not fit the operator -; error 062: number of operands does not fit the operator -;
error 063: function result tag of operator "% s" must be "% s" -; error 063: function result tag of operator "% s" must be "% s" -;
error 064: cannot change predefined operators -; error 064: cannot change predefined operators -;
error 065: function argument may only have a single tag (argument% d) -; error 065: function argument may only have a single tag (argument% d) -;
error 066: function argument may not be a reference argument or an array (argument "% s") -; error 066: function argument may not be a reference argument or an array (argument "% s") -;
error 067: variable cannot be both a reference and an array (variable "% s") -; error 067: variable cannot be both a reference and an array (variable "% s") -;
error 068: invalid rational number precision in # pragma -; error 068: invalid rational number precision in # pragma -;
error 069: rational number format already defined -; error 069: rational number format already defined -;
error 070: rational number support was not enabled -; error 070: rational number support was not enabled -;
error 071: user-defined operator must be declared before use (function "% s") -; error 071: user-defined operator must be declared before use (function "% s") -;
072 error: "sizeof" operator is invalid on "function" symbols -; error 072: "sizeof" operator is invalid on "function" symbols -;
error 073: function argument must be an array (argument "% s") -; error 073: function argument must be an array (argument "% s") -;
error 074: # define pattern must start with an alphabetic character -; error 074: # define pattern must start with an alphabetic character -;
error 075: input line too long (after substitutions) -; error 075: input line too long (after substitutions) -;
error 076: syntax error in the expression, or invalid function call -; error 076: syntax error in the expression, or invalid function call -;
error 077: malformed UTF-8 encoding, or corrupted file:% s -; error 077: malformed UTF-8 encoding, or corrupted file:% s -;
error 078: function uses both "return" and "return <value>" -; error 078: function uses both "return" and "return <value>" -;
error 079: inconsistent return types (array & non-array) -; error 079: inconsistent return types (array & non-array) -;
error 080: unknown symbol, or not a constant symbol (symbol "% s") -; error 080: unknown symbol, or not a constant symbol (symbol "% s") -;
error 081: cannot take a tag as a default value for an indexed array parameter (symbol "% s") -; error 081: cannot take a tag as a default value for an indexed array parameter (symbol "% s") -;
error 082: user-defined operators and native functions may not have states -; error 082: user-defined operators and native functions may not have states -;
083 error: a function may only belong to a single automaton (symbol "% s") -; 083 error: a function may only belong to a single automaton (symbol "% s") -;
error 084: state conflict: one of the states is already assigned to another implementation (symbol "% s") -; error 084: state conflict: one of the states is already assigned to another implementation (symbol "% s") -;
error 085: no states are defined for function "% s" -; error 085: no states are defined for function "% s" -;
error 086: unknown automaton "% s" -; error 086: unknown automaton "% s" -;
error 087: unknown state "% s" for automaton "% s" -; error 087: unknown state "% s" for automaton "% s" -;
error 088: number of arguments does not match definition -; error 088: number of arguments does not match definition -;

warning 202: number of arguments does not match definition - non-coincidence number of arguments; warning 202: number of arguments does not match definition - non-coincidence number of arguments;
warning 203: symbol is never used: "%"-symbol "%" is never used; warning 203: symbol is never used: "%" - the symbol "%" is never used;
211 warning: possibly unintended assignment - condition is not used in the comparison, and assignment; 211 warning: possibly unintended assignment - a condition not used in the comparison, and assignment;
warning 213: tag mismatch - mismatch arguments in function; warning 213: tag mismatch - mismatch arguments in function;
warning 215: expression has no effect - expression has no effect; warning 215: expression has no effect - the expression has no effect;
warning 219: local variable "% s" shadows a variable at a preceding level - variable is declared twice; warning 219: local variable "% s" shadows a variable at a preceding level - double the variable is declared;
warning 225: unreachable code - condition is not used in the comparison, and assignment; warning 225: unreachable code - an invalid code;

% s - variable name. % S - variable name.
Reply
#2

This doesn't tell me what the error code(s) mean?

You've just listed them all for some post count?
Reply
#3

it dose:

error 084: state conflict

MEANS: one of the states is already assigned to another implementation (symbol "% s") -;
Reply
#4

http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf
Quote:
Originally Posted by Joe_
This doesn't tell me what the error code(s) mean?

You've just listed them all for some post count?
excuse me but i really think u do that for post count cause u always say "sorry for double post" in topics :S
Reply
#5

I've never said that, nor double posted, must be a missunderstanding
Reply
#6

i didn't mean u , i meant him
Reply
#7

This is really useless. You have a good explanation in the PAWN language guide (pawn-lang.pdf) for EVERY warning and error.
Reply
#8

i have error 30 what i must to do
Reply
#9

Quote:
Originally Posted by speediekiller2
Посмотреть сообщение
i have error 30 what i must to do
die















.
Reply
#10

what must i do serius
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)