Error 079 inconsistent return types array non array

Из названия все ясно. ИД'ы всех ошибок, фатальных ошибок, а также предупреждений в PAWNO.  Спойлер error 001: expected token: "%s", but ...

Из названия все ясно. ИД’ы всех ошибок, фатальных ошибок, а также предупреждений в PAWNO. 

error 001: expected token: «%s», but found «%s» — пропущен символ «%s», но найден «%s»;

error 002: only a single statement (or expression) can follow each «case» — Только один оператор и и выражение может следовать после «case»;

error 003: declaration of a local variable must appear in a compound block — Локальные переменные должны быть в блоке;

error 004: function «%s» is not implemented — функция «%s» не определена;

error 005: function may not have arguments — Функция может не иметь аргументов;

error 006: must be assigned to an array — Это должно быть в массиве;

error 007: operator cannot be redefined — Оператор не может использоваться;

error 008: must be a constant expression; assumed zero — Это должно быть константой равной нулю;

error 009: invalid array size (negative or zero) — Неправильный размер массива. Отрицательное значение или ноль;

error 010: invalid function or declaration — Неправильная функция;

error 011: invalid outside functions — Неправильный вывод функции;

error 012: invalid function call, not a valid address — Неправильный вызов функции;

error 013: no entry point (no public functions) — Не точка входа;

error 014: invalid statement; not in switch — Неверная команда;

error 015: «default» case must be the last case in switch statement — Оператор «default» должен быть последним;

error 016: multiple defaults in «switch» — Несколько операторов «default» в «switch»;

error 017: undefined symbol «%s» — неизвестный символ (неопределённая переменная) «%s»;

error 018: initialization data exceeds declared size — несовпадение данных в массиве с указанными рамками (увеличить размер массива);

error 019: not a label: %s» — %s — не строка;

error 020: invalid symbol name «%s» — ошибочное название символа (начинается с цифры, например);

error 021: symbol already defined: %s» — символ уже определён (дважды встречается new одного и того-же символа);

error 022: must be lvalue (non-constant) — Должна быть левой частью;

error 023: array assignment must be simple assignment — начения массива должны быть простыми;

error 024: «break» or «continue» is out of context — Операторы «break» или «continue» вне границ блока;

error 025: function heading differs from prototype — Функция заголовка отличается от прототипа;

error 026: no matching «#if…» — «#if…» — не найдено;

error 027: invalid character constant — Неправильные символы константы;

error 028: invalid subscript (not an array or too many subscripts): %s» — неверное выражение, нет результата %s является недействительным массивом;

error 029: invalid expression, assumed zero — неверное выражение, нет результата;

error 030: compound statement not closed at the end of file — составной оператор не закрыт в конце файла, поставить return 1;} в конец мода;

error 031: unknown directive — неверная директива (подключение плагина в дефайнах, неверное установка пути инклуда и тому подобное);

error 032: array index out of bounds (variable «%s») — Индекс массива превышен;

error 033: array must be indexed (variable «%s») — Массив неизвестен;

error 034: argument does not have a default value (argument %d) — Аргумент не имеет начального значения;

error 035: argument type mismatch (argument %d) — Несоответствие типов аргумента;

error 036: empty statement — Пустой оператор;

error 037: invalid string (possibly non-terminated string) — незавершённая строка (обычно бывает, если забывам ставить закрывающие ковычки);

error 038: extra characters on line — Лишние символы в строке;

error 039: constant symbol has no size — Символьная константа не имеет размера;

error 040: duplicate «case» label (value %d) — несколько раз объявлен «case» с одним и тем же параметром;

error 041: invalid ellipsis, array size is not known — Размер массива неизвестно;

error 042: invalid combination of class specifiers — Недопустимое сочетание класса;

error 043: character constant exceeds range for packed string — Символьная константа превышает размер строки;

error 044: positional parameters must precede all named parameters — ;

error 045: too many function arguments — Слишком много аргументов для функции;

error 046: unknown array size (variable «%s») — Неизвестный размер массива %s;

error 047: array sizes do not match, or destination array is too small — размеры массивов конфликтуют, либо целевой массив слишком маленький (нужно увеличить число в квадратных скобках);

error 048: array dimensions do not match — Размеры массива не совпадают;

error 049: invalid line continuation — Неправильное продолжении линии;

error 050: invalid range — Неправильный диапазон;

error 051: invalid subscript, use «[ ]» operators on major dimensions — Неправильный индекс. Используйте «[ ]»;

error 052: multi-dimensional arrays must be fully initialized — Много размерные массивы должны быть

полностью установлены;

error 053: exceeding maximum number of dimensions — Превышение максимального числа измерений;

error 054: unmatched closing brace — Непревзойденная закрывающаяся скобка;

error 055: start of function body without function header — описание функции без заголовка (пропущен public(…));

error 056: arrays, local variables and function arguments cannot be public (variable «%s») — ;

error 057: unfinished expression before compiler directive — Незавершенное выражение для компилятора;

error 058: duplicate argument; same argument is passed twice — Дублирование аргумента. Аргумент передается несколько раз;

error 059: function argument may not have a default value (variable «%s») — Аргумент не может иметь значение по-умолчанию;

error 060: multiple «#else» directives between «#if … #endif» — Несколько «#else» между «#if … #endif»;

error 061: «#elseif» directive follows an «#else» directive — «#elseif» перед «#else»;

error 062: number of operands does not fit the operator — Количество операторов не соответствует оператору;

error 063: function result tag of operator «%s» must be «%s» — Результат функции %s должен быть %s;

error 064: cannot change predefined operators — Невозможно изменить уже определенные операторы;

error 065: function argument may only have a single tag (argument %d) — В этой функции может быть только один аргумент %d;

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») — Переменная %s не может быть как массив или ссылка;

error 068: invalid rational number precision in #pragma — Неправильное число в #pragma;

error 069: rational number format already defined — Формат рационального числа уже определен;

error 070: rational number support was not enabled — Рациональное число не поддерживается;

error 071: user-defined operator must be declared before use (function «%s») — Объявленный оператор должен быть перед использованием;

error 072: «sizeof» operator is invalid on «function» symbols — Оператор «sizeof» не может быть использован для символов;

error 073: function argument must be an array (argument «%s») — Аргумент %s должен быть массивом;

error 074: #define %s must start with an alphabetic character — макрос %s должен начинаться с букв;

error 075: input line too long (after substitutions) — слишком длинная строка после интеграции параметров (возможно, много лишних пробелов, или результативные данные слишком велики для строки (по длине));

error 076: syntax error in the expression, or invalid function call — Неправильный синтаксис или неправильный вызов функции;

error 077: malformed UTF-8 encoding, or corrupted file: %s — Плохая кодировка UTF-8 или плохой файл %s;

error 078: function uses both «return» and «return <value>» — Функция использует два «return»;

error 079: inconsistent return types (array & non-array) — несовместимость типов возвращённых результатов (массив и немассив) (сопоставить данные в функции и изменить типы переменных);

error 080: unknown symbol, or not a constant symbol (symbol «%s») — Неизвестный или непостоянный символ %s;

error 081: cannot take a tag as a default value for an indexed array parameter (symbol «%s») — Нельзя взять значение в массив %s;

error 082: user-defined operators and native functions may not have states — нативы и пользовательские операторы не могут иметь переключателей;

error 083: 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») — для функции %s уже определенна данная state;

error 085: no states are defined for function «%s» — не определенна ни одна state для функции %s;

error 086: unknown automaton «%s» — Неизвестная автоматизация %s;

error 087: unknown state «%s» for automaton «%s» — не определен state %s, для переключения %s;

error 088: number of arguments does not match definition — количество аргументов не совпадает с объявленными в функции;  

fatal error 100: cannot read from file: «%s» — невозможно прочитать/найти файл %s в стандартной директории;

fatal error 107: too many error messages on one line — слишком много ошибок на одной строке (обычно из-за одного неправильного параметра);

warning 200: symbol «%s» is truncated to 31 characters — название переменной %s обрезается до 31 символа (укоротите название переменной %s);

warning 201: redefinition of constant/macro (symbol «%s») — двойное определение одинаковой константы (смотреть #define);

warning 202: number of arguments does not match definition — несовпадение количества аргументов;

warning 203: symbol is never used: «%» — символ «%» нигде не используется;

warning 204: symbol is assigned a value that is never used: «%s» — символ создан, ему присваивается значение, но далее он не используется.

warning 208: function with tag result used before definition, forcing reparse — функция с типовым результатом используется перед объявлением

warning 209: function «%s» should return a value — функция %s должна возвращать какое-либо значение (return 1; к примеру);

warning 211: possibly unintended assignment — в условии использовано не сравнение, а присвоение;

warning 213: tag mismatch — несовпадение тэгов;

warning 215: expression has no effect — выражение не имеет эффекта;

warning 216: nested comment — вложенный комментарий (вынесите его за функцию);

warning 217: loose indentation — невыровненная строка (return должен быть строго под телом функции по левому краю, либо можно добавить в начало мода строку #pragma tabsize 0, но это не рекомендуется, так как иногда может не понимать и не прочитывать скобки «{» и «}»);

warning 219: local variable «%s» shadows a variable at a preceding level — переменная дважды объявлена;

warning 224: indeterminate array size in «sizeof» expression (symbol «%s») — должен быть определён размер массива %s (если определён статиком, заменить дефайном);

warning 225: unreachable code — невалидный код;

warning 235: public function lacks forward declaration (symbol «%s») — необходим форвард функции %s (перед функцией пишем forward %s; 

Пояснение: «%s — имя переменной/макроса/аргумента функции».

Авторы: OKStyle, webserfer, Kaza40k, [Nos]B[R]aiN[L], Ym[0]n, _volk_, ДениСыч, Roman1us. 

При копировании на другие ресурсы, обязательно указывайте авторов, не зря ведь люди старались:)

Posts: 5
Threads: 2
Joined: Jul 2010

Reputation:

0

All these errors im getting:

Error is:

Quote:


error 079: inconsistent return types (array & non-array)

pawn Код:

if (strcmp("/wepshop", cmdtext, true, 11) == 0)
    {
    if(IsPlayerVipType(playerid,1))
    {
        ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Weapon Shop","Brass Knuckles ($500)nGolf Club ($500)nNite Stick ($500)nKnife ($500)nBaseball Bat ($500)nShovel ($500)nPool Cue ($500)nKatana ($500)nChainsaw ($1500)n9mm Pistol ($2000)nSilenced 9mm Pistol ($2100)nDesert Eagle ($2100)nSawn-Off Shotgun ($10000)nAK-47 ($5000)nTEC-9 ($2500)nSpecial Weapon ($50000)n","Buy!", "Exit");
        return 1;

Error is on the last

Why does this happend? I got many error of those…

Posts: 1,494
Threads: 120
Joined: Dec 2009

Reputation:

0

Probably because the ‘ShowPlayerDialog’ line is to long.. Try cutting it in half.

Posts: 5
Threads: 2
Joined: Jul 2010

Reputation:

0

Would you make an example? Since im trying to cut it but dont know how… like make the pawn code?

Posts: 1,494
Threads: 120
Joined: Dec 2009

Reputation:

0

I think this should work.

pawn Код:

ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Weapon Shop","Brass Knuckles ($500)nGolf Club ($500)nNite Stick ($500)nKnife ($500)nBaseball Bat ($500)nShovel ($500)nPool Cue ($500)nKatana ($500)n
Chainsaw ($1500)n9mm Pistol ($2000)nSilenced 9mm Pistol ($2100)nDesert Eagle ($2100)nSawn-Off Shotgun ($10000)nAK-47 ($5000)nTEC-9 ($2500)nSpecial Weapon ($50000)n"
,"Buy!", "Exit");

Posts: 5
Threads: 2
Joined: Jul 2010

Reputation:

0

pawn Код:

LINE 416:   if (strcmp("/wepshop", cmdtext, true, 11) == 0)
LINE 417:    {
LINE 418:   if(IsPlayerVipType(playerid,1))
LINE 419:   {
LINE 420:       new listitem[] = "1tBrass Knuckles ($500)n2tGolf Club ($500)n3tNite Stick ($500)n4tKnife ($500)n5tBaseball Bat ($500)n6tShovel ($500)n7tPool Cue ($500)n8tKatana ($500)n9tChainsaw ($1500)n10t9mm Pistol ($2000)n11tSilenced 9mm Pistol ($2100)n12tDesert Eagle ($2100)n13tSawn-Off Shotgun ($10000)n14tAK-47 ($5000)n15tTEC-9 ($2500)n16tSpecial Weapon ($50000)n";
LINE 421:       ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"List of weapons:",listitems,"Get Gun","Cancel");
LINE 422:   if(dialogid == 1) {
LINE 423:        if(response) {
LINE 424:            new message[256+1];
LINE 425:            if(listitem == 0) {
LINE 426:                format(message, 256, "You selected 'Brass Knuckles'", listitem);
LINE 427:           GivePlayerMoney(playerid, -500);
LINE 428:           SendClientMessage(playerid, 0xFFFFFFFF, message);
LINE 429:            GivePlayerWeapon (playerid, 1, 500);
LINE 430:            } else if(listitem == 1) {
LINE 431:                format(message, 256, "You selected 'Golf Club'", listitem);
LINE 432:            SendClientMessage(playerid, 0xFFFFFFFF, message);
LINE 433:            GivePlayerWeapon (playerid, 2, 500);
LINE 434:               return 1;

Attempted doing this… But got these errors:

Quote:


(421) : error 017: undefined symbol «listitems»
(422) : error 017: undefined symbol «dialogid»
(423) : error 017: undefined symbol «response»
(425) : error 033: array must be indexed (variable «listitem»)
(430) : error 033: array must be indexed (variable «listitem»)
(434) : error 079: inconsistent return types (array & non-array)

Posts: 1,494
Threads: 120
Joined: Dec 2009

Reputation:

0

Well, instead of doing ‘listitems = blabla’ you could just do the format(…) and make it easier, also the dialogid and response are variables for the ‘OnDialogResponse’ callback, it will not work under ‘OnPlayerCommandText’

Posts: 2,187
Threads: 81
Joined: Aug 2011

Reputation:

0

Credits to vince for this:

You are doing something like:

pawn Код:

MyFunction()
{
    if(somevalue)
    {
        return 1;
    }
    new string[64] = "a text";
    return string;
}

«In one function, all return types must be consistent (that’s what the error says). So you need to return all arrays (strings), all integers or all floats, but not a combination of them.»

		case D_APANEL_1:
		{
			if(response)
			{
				switch(listitem)
				{
					case 0:
					{
						SendClientMessage(playerid, COLOR_BLUE, "В разработке");
					}
					case 1:
					{
				 		for(new i = 0; i < 100; i++) SendClientMessageToAll(COLOR_WHITE, "");
				 		new string[64];
						format(string, sizeof(string), "[A] %s[%d] очистил чат", PI[playerid][pName], playerid);
						SendAdminMessage(string, 0xAFAFAFAA);
					}
					case 2:
					{
						SendClientMessage(playerid, COLOR_BLUE, "В разработке");
					}
					case 3:
					{
						SendClientMessage(playerid, COLOR_BLUE, "В разработке");
					}
					case 4:
					{
						if(killused[playerid] == 1) return SendClientMessage(playerid, COLOR_BLUE, "Вы отключили информацию о убийствах."), killused[playerid] = 0;
						killused[playerid] = 1;
						SendClientMessage(playerid, COLOR_BLUE, "Вы включили информацию о убийствах.");
					}
					case 5:
					{
						SendClientMessage(playerid, COLOR_BLUE, "В разработке");
					}
					case 6:
					{
						SendClientMessage(playerid, COLOR_BLUE, "В разработке");
					}
					case 7:
					{
						if(AdminInfo[playerid] == 1) return SendClientMessage(playerid, COLOR_BLUE, "Вы выключили информацию о входах/выходах."), AdminInfo[playerid] = 0;
						AdminInfo[playerid] = 1;
						SendClientMessage(playerid, COLOR_BLUE, "Вы включили информацию о входах/выходах");
					}
					case 8:
					{
						if(AdminInfo[playerid][admSmsEars] == 1) return SendClientMessage(playerid, COLOR_BLUE, "Вы выключили прослушку SMS"), AdminInfo[playerid][admSmsEars] = 0;
						AdminInfo[playerid][admSmsEars] = 1;
						SendClientMessage(playerid, COLOR_BLUE, "Вы включили прослушку SMS");
					}
					case 9:
					{
	    				for(new i = 1; i < MAX_VEHICLES; i++)
						{
		    				if(!IsVehicleOccupied(i)) SetVehicleToRespawn(i);
						}
						new fmt_msg[128];
						format(fmt_msg, sizeof fmt_msg, "[A] %s[%d] зареспавнил весь транспорт", PI[playerid][pName], playerid);
						SendAdminMessage(fmt_msg, 0xAFAFAFAA);
					}
					case 10:
					{
						SendClientMessage(playerid, COLOR_BLUE, "В разработке");
					}
					case 11:
					{
						switch(event)
						{
							case false:
							{
								Send(playerid, COLOR_LIME, "Вы включили телепорт на мероприятие (ООС)");
								static const fmt_msg[] = "[A] %s [%d] открыл телепортацию на мероприятие (ООС): /gotomp";
								new string[sizeof(fmt_msg)+(-2+MAX_PLAYER_NAME)+(-2+3)];
								format(string, sizeof(string), fmt_msg, PI[playerid][pName], playerid);
								SendAdminMessage(string, COLOR_YELLOW);

								GetPlayerPos(playerid, event_teleport_coord[0], event_teleport_coord[1], event_teleport_coord[2]);
								event = true;
							}
							case true:
							{
								Send(playerid, COLOR_LIME, "Вы закрыли телепорт мероприятие (ООС)");

								static const fmt_msg[] = "[A] %s[%d] закрыл телепортацию на мероприятие (ООС)";
								new string[sizeof(fmt_msg)+(-2+MAX_PLAYER_NAME)+(-2+3)];
								format(string, sizeof(string), fmt_msg, PI[playerid][pName], playerid);
								SendAdminMessage(string, COLOR_YELLOW);

								event = false;
							}
						}
					}
					case 12:
					{
						Send(playerid, COLOR_LIME, "Вы прекратили мероприятие (ООС)");
						static const fmt_msg[] = "[A] %s[%d] прекратил мероприятие (ООС)";
						new string[sizeof(fmt_msg)+(-2+MAX_PLAYER_NAME)+(-2+3)];
						format(string, sizeof(string), fmt_msg, PI[playerid][pName], playerid);
						SendAdminMessage(string, COLOR_GREY);
						event = false;
					}
					case 13:
					{
						SendClientMessage(playerid, COLOR_BLUE, "В разработке");
					}
					case 14:
					{
						ShowPlayerDialog
						(
							playerid, DIALOG_APANEL_WEATHER, DIALOG_STYLE_INPUT,
							"{ffcc00}Смена погоды",
							"Введите ID погоды:",
							"Далее", "Отмена"
						);
					}
				}
			}
		}

Код: Выделить всё

error 001: expected token: "%s", but found "%s" - пропущен символ "%s", но найден "%s";
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 004: function "%s" is not implemented - функция "%s" не определена;
error 005: function may not have arguments - Функция не может иметь аргументы;
error 006: must be assigned to an array - должен быть присвоен массив;
error 007: operator cannot be redefined - Оператор не может быть пересмотрен;
error 008: must be a constant expression; assumed zero - должно быть постоянным выражением равным нулю;
error 009: invalid array size (negative or zero) - неверный размер массива (отрицательное или нуль);
error 010: invalid function or declaration - недействительая функция или объявление;
error 011: invalid outside functions - Вне функции;
error 012: invalid function call, not a valid address - Вызываемая функция не действительна или не правельный адрес;
error 013: no entry point (no public functions) - Нет точки входа (Нет паблика функции);
error 014: invalid statement; not in switch - ;
error 015: "default" case must be the last case in switch statement - ;
error 016: multiple defaults in "switch" - Много defaults В "switch";
error 017: undefined symbol "%s" - неизвестный символ (неопределённая переменная) "%s";
error 018: initialization data exceeds declared size - несовпадение данных в массиве с указанными рамками (увеличить размер массива);
error 019: not a label: %s" - ;
error 020: invalid symbol name "
%s" - ошибочное название символа (начинается с цифры, например);
error 021: symbol already defined: %s"
 - символ уже определён (дважды встречается new одного и того же символа);
error 022: must be lvalue (non-constant) - ;
error 023: array assignment must be simple assignment - ;
error 024: "break" or "continue" is out of context - ;
error 025: function heading differs from prototype - ;
error 026: no matching "#if..." - ;
error 027: invalid character constant - ;
error 028: invalid subscript (not an array or too many subscripts): %s" - ;
error 029: invalid expression, assumed zero - неверное выражение, нет результата;
error 030: compound statement not closed at the end of file - составной оператор не закрыт в конце файла, поставить return 1;} в конец мода;
error 031: unknown directive - неверная директива (подключение плагина в дефайнах, неверное установка пути инклюда и тому подобное);
error 032: array index out of bounds (variable "
%s") - ;
error 033: array must be indexed (variable "
%s") - ;
error 034: argument does not have a default value (argument %d) - ;
error 035: argument type mismatch (argument %d) - ;
error 036: empty statement - ;
error 037: invalid string (possibly non-terminated string) - незавершённая строка (обычно бывает, если забывам ставить закрывающие ковычки);
error 038: extra characters on line - ;
error 039: constant symbol has no size - ;
error 040: duplicate "
case" label (value %d) - несколько раз объявлен "case" с одним и тем же параметром;
error 041: invalid ellipsis, array size is not known - ;
error 042: invalid combination of class specifiers - ;
error 043: character constant exceeds range for packed string - ;
error 044: positional parameters must precede all named parameters - ;
error 045: too many function arguments - ;
error 046: unknown array size (variable "
%s") - ;
error 047: array sizes do not match, or destination array is too small - размеры массивов конфликтуют, либо целевой массив слишком маленький (нужно увеличить число в квадратных скобках);
error 048: array dimensions do not match - ;
error 049: invalid line continuation - ;
error 050: invalid range - ;
error 051: invalid subscript, use "
[ ]" operators on major dimensions - ;
error 052: multi-dimensional arrays must be fully initialized - ;
error 053: exceeding maximum number of dimensions - ;
error 054: unmatched closing brace - ;
error 055: start of function body without function header - описание функции без заголовка (пропущен public(...));
error 056: arrays, local variables and function arguments cannot be public (variable "
%s") - ;
error 057: unfinished expression before compiler directive - ;
error 058: duplicate argument; same argument is passed twice - ;
error 059: function argument may not have a default value (variable "
%s") - ;
error 060: multiple "
#else" directives between "#if ... #endif" - ;
error 061: "#elseif" directive follows an "#else" directive - ;
error 062: number of operands does not fit the operator - ;
error 063: function result tag of operator "%s" must be "%s" - ;
error 064: cannot change predefined operators - ;
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 067: variable cannot be both a reference and an array (variable "%s") - ;
error 068: invalid rational number precision in #pragma - ;
error 069: rational number format already defined - ;
error 070: rational number support was not enabled - ;
error 071: user-defined operator must be declared before use (function "%s") - ;
error 072: "sizeof" operator is invalid on "function" symbols - ;
error 073: function argument must be an array (argument "%s") - ;
error 074: #define %s must start with an alphabetic character - макрос %s должен начинаться с буквы;
error 075: input line too long (after substitutions) - слишком длинная строка после интеграции параметров (возможно, много лишних пробелов, или результативные данные слишком велики для строки (по длине));
error 076: syntax error in the expression, or invalid function call - ;
error 077: malformed UTF-8 encoding, or corrupted file: %- ;
error 078: function uses both "return" and "return <value>" - ;
error 079: inconsistent return types (array & non-array) - несовместимость типов возвращённых результатов (массив и немассив) (сопоставить данные в функции и изменить типы переменных);
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 082: user-defined operators and native functions may not have states - найтивы и пользоваельские операторы не могут иметь переключателей;
error 083: 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") - для функции %s уже определенна данная state;
error 085: no states are defined for function "%s" - не определенна ни одна state для функции %s;
error 086: unknown automaton "%s" - ;
error 087: unknown state "%s" for automaton "%s" - не определен state %s, для переключения %s;
error 088: number of arguments does not match definition - количество аргументов не совпадает с объявленными в функции;fatal error 100: cannot read from file: "%s" - невозможно прочитать/найти файл %s в стандартной директории;
fatal error 107: too many error messages on one line - слишком много ошибок на одной строке (обычно из-за одного неправильного параметра);warning 200: symbol "%s" is truncated to 31 characters - название переменной %s обрезается до 31 символа (укоротите название переменной %s);
warning 201: redefinition of constant/macro (symbol "%s") - двойное определение одинаковой константы (смотреть #define);
warning 202: number of arguments does not match definition - несовпадение количества аргументов;
warning 203: symbol is never used: "%" - символ "%" нигде не используется;
warning 204: symbol is assigned a value that is never used: "%s" - символ создан, ему присваивается значение, но далее он не используется.
warning 209: function "%s" should return a value - функция %s должна возвращать какое-либо значение (return 1; к примеру);
warning 211: possibly unintended assignment - в условии использовано не сравнение, а присвоение;
warning 213: tag mismatch - несовпадение тэгов;
warning 215: expression has no effect - выражение не имеет эффекта;
warning 216: nested comment - вложенный комментарий (вынесите его за функцию);
warning 217: loose indentation - невыровненная строка (return должен быть строго под телом функции по левому краю, либо можно добавить в начало мода строку #pragma tabsize 0, но это не рекомендуется, так как иногда может не понимать и не прочитывать скобки "{" и "}");
warning 219: local variable "%s" shadows a variable at a preceding level - переменная дважды объявлена;
warning 224: indeterminate array size in "sizeof" expression (symbol "%s") - должен быть определён размер массива %(если определён статиком, заменить дефайном);
warning 225: unreachable code - невалидный код;
warning 235: public function lacks forward declaration (symbol "%s") - необходим форвард функции %(перед функцией пишем forward %s; %- имя переменной/макроса/аргумента функции.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error 075 input line too long after substitutions pawno
  • Error 072 sizeof operator is invalid on function symbols
  • Error 0701 usb over current on hc port
  • Error 064 пульсар как сбросить ошибку
  • Error 06 автомагнитола prology

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии