Error 092 functions may not return arrays of unknown size symbol convert

Здравствуй, возник вопрос. Можно ли воспользоваться convert, но не возвращая строки? Так как при компиляции возникают ошибки: Код convert:

Mr. Pon

Регистрация
29 Июн 2014
Сообщения
138
Лучшие ответы
4
Репутация
33

  • #1

Здравствуй, возник вопрос. Можно ли воспользоваться convert, но не возвращая строки? Так как при компиляции возникают ошибки:

PHP:

error 092: functions may not return arrays of unknown size (symbol "convert")

Код convert:

PHP:

stock convert(seconds, stringTo[], size = sizeof(stringTo))
{
	stringTo[0] = 0x0;
	new result[4];
	result[0] = floatround(seconds / (3600 * 24));
	result[1] = floatround(seconds / 3600);
	result[2] = floatround((seconds / 60) - (result[1] * 60));
	result[3] = floatround(seconds - ((result[1] * 3600) + (result[2] * 60)));
	switch(result[0])
	{
		case 0:
		{
			switch(result[1])
			{
				case 0: format(stringTo, size, "%02d:%02d", result[2], result[3]);
				default: format(stringTo, size, "%d:%02d:%02d", result[1], result[2], result[3]);
			}
		}
	}
	return stringTo;
}

Posts: 56
Threads: 10
Joined: Jun 2016

Reputation:

0

Код:

C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(2966) : error 092: functions may not return arrays of unknown size (symbol "Convert")
C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(3372) : warning 213: tag mismatch
C:UsersMadarsDesktopMotion(ions may not return arrays of unknown size (symbol "Convert")
C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(4997) : error 092: functions may not return arrays of unknown size (symbol "Convert")
C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(7094) : error 092: functions may not return arrays of unknown size (symbol "Convert")
C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(7134) : error 092: functions may not return arrays of unknown size (symbol "Convert")
C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(7174) : error 092: functions may not return arrays of unknown size (symbol "Convert")
C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(12426) : error 092: functions may not return arrays of unknown size (symbol "Cof unknown size (symbol "Cof unknown size (symbol "Convert")
C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(22094) : error 092: functions may not return arrays of unknown size (symbol "Convert")
C:UsersMadarsDesktopMotion-RPgamemodesmotiongm.pwn(23359) : error 092: functions may not return arrays of unknown size (symbol "Convert")
Pawn compiler 3.10.4	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Errors.

These show up after I put in Zeex pawn patch v3.10.4. All the v3 versions give me this error. For now I’m using Zeex compiler from 2015.

Here’s Convert function

Код:

stock Convert(seconds, stringTo[], size = sizeof(stringTo))
{
	stringTo[0] = 0x0;
	new result[4];
	result[0] = floatround(seconds / (3600 * 24));
	result[1] = floatround(seconds / 3600);
	result[2] = floatround((seconds / 60) - (result[1] * 60));
	result[3] = floatround(seconds - ((result[1] * 3600) + (result[2] * 60)));
	switch(result[0])
	{
		case 0:
		{
			switch(result[1])
			{
				case 0: format(stringTo,size,"%02d:%02d",result[2],result[3]);
				default: format(stringTo,size,"%d:%02d:%02d",result[1],result[2],result[3]);
			}
		}
	}
	return stringTo;
}

For example line 2966

Код:

for(new i = 0; i < sizeof(GZInfo); i++)
	{
		if(GZSafeTime[i] > 0)
		{
			GZSafeTime[i]--;
			foreach(new x: Player)
			{
				if(PI[x][pMember] == GZInfo[i][gNapad] || PI[x][pMember] == GZInfo[i][gFrak])
				{
					Convert(GZSafeTime[i], stringText); // line 2966
					PlayerTextDrawSetString(x, CaptureTD[x][2], stringText);
				}
			}
		}
	}

Really want to use Zeex compiler because of the speed improvement. GM takes a while to compile.

Posts: 11,827
Threads: 33
Joined: Dec 2011

Reputation:

0

What’s the point of passing the array string by reference and at the same time return it? Use one way or another, not both.

Posts: 56
Threads: 10
Joined: Jun 2016

Reputation:

0

So I can just rename «return stringTo;» to «return 1;»?

Posts: 11,827
Threads: 33
Joined: Dec 2011

Reputation:

0

Yes, either return a value or don’t return anything — it is not a mandatory thing.

Posts: 56
Threads: 10
Joined: Jun 2016

Reputation:

0

It worked, thanks! Just gotta check if Convert still works as intended. Love how fast it compiles now.

/* Pawn compiler — Error message strings (plain and compressed formats) * * Copyright (c) ITB CompuPhase, 2000-2006 * * This software is provided «as-is», without any express or implied warranty. * In no event will the authors be held liable for any damages arising from * the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software in * a product, an acknowledgment in the product documentation would be * appreciated but is not required. * 2. Altered source versions must be plainly marked as such, and must not be * misrepresented as being the original software. * 3. This notice may not be removed or altered from any source distribution. * * Version: $Id$ */ // To find unused errors, try this: // for i in {1..182}; do echo -n «Error $i:» ; grep error compiler/*.cpp | grep -E «b$ib» | wc -l; done static const char* errmsg[] = { /*001*/ «expected token: «%s«, but found «%s«n«, /*002*/ «only a single statement (or expression) can follow each «case«n«, /*003*/ «declaration of a local variable must appear in a compound blockn«, /*004*/ «function «%s« is not implementedn«, /*005*/ «function may not have argumentsn«, /*006*/ «must be assigned to an arrayn«, /*007*/ «operator cannot be redefinedn«, /*008*/ «must be a constant expression; assumed zeron«, /*009*/ «invalid array size (negative, zero or out of bounds)n«, /*010*/ «invalid function or declarationn«, /*011*/ «symbol ‘%s‘ already defined — did you use a methodmap before its declaration?n«, /*012*/ «invalid function call, not a valid addressn«, /*013*/ «no entry point (no public functions)n«, /*014*/ «invalid statement; not in switchn«, /*015*/ ««default« case must be the last case in switch statementn«, /*016*/ «multiple defaults in «switch«n«, /*017*/ «undefined symbol «%s«n«, /*018*/ «initialization data exceeds declared sizen«, /*019*/ «cannot use symbol «%s« before it is fully parsedn«, /*020*/ «invalid symbol name «%s«n«, /*021*/ «symbol already defined: «%s«n«, /*022*/ «must be lvalue (non-constant)n«, /*023*/ «array assignment must be simple assignmentn«, /*024*/ ««break« or «continue« is out of contextn«, /*025*/ «function heading differs from prototypen«, /*026*/ «no matching «#if…«n«, /*027*/ «invalid character constantn«, /*028*/ «invalid subscript (not an array or too many subscripts): «%s«n«, /*029*/ «invalid expression, assumed zeron«, /*030*/ «compound statement not closed at the end of file (started at line %d)n«, /*031*/ «unknown directiven«, /*032*/ «array index out of bounds (variable «%s«)n«, /*033*/ «array must be indexed (variable «%s«)n«, /*034*/ «argument does not have a default value (argument %d)n«, /*035*/ «argument type mismatch (argument %d)n«, /*036*/ «empty statementn«, /*037*/ «invalid string (possibly non-terminated string)n«, /*038*/ «extra characters on linen«, /*039*/ «constant symbol has no sizen«, /*040*/ «duplicate «case« label (value %d)n«, /*041*/ «invalid ellipsis, array size is not knownn«, /*042*/ «invalid combination of class specifiersn«, /*043*/ «character constant exceeds range for packed stringn«, /*044*/ «positional parameters must precede all named parametersn«, /*045*/ «too many function argumentsn«, /*046*/ «unknown array size (variable «%s«)n«, /*047*/ «array sizes do not match, or destination array is too smalln«, /*048*/ «arrays do not matchn«, /*049*/ «invalid line continuationn«, /*050*/ «missing function call, cannot use non-static member function as a valuen«, /*051*/ «overloaded operator ‘%s‘ does not return booln«, /*052*/ «array size exceeds memory capacityn«, /*053*/ «number literal contains alphanumeric charactern«, /*054*/ «unmatched closing brace («}«)n«, /*055*/ «start of function body without function headern«, /*056*/ «arrays, local variables and function arguments cannot be public (variable «%s«)n«, /*057*/ «property «%s« has no getter or settern«, /*058*/ «duplicate argument; same argument is passed twicen«, /*059*/ «function argument may not have a default value (variable «%s«)n«, /*060*/ «multiple «#else« directives between «#if … #endif«n«, /*061*/ ««#elseif« directive follows an «#else« directiven«, /*062*/ «number of operands does not fit the operatorn«, /*063*/ «function result tag of operator «%s« must be «%s«n«, /*064*/ «cannot change predefined operatorsn«, /*065*/ «enum struct fields cannot have more than one dimensionn«, /*066*/ «function argument may not be a reference argument or an array (argument «%s«)n«, /*067*/ «variable cannot be both a reference and an array (variable «%s«)n«, /*068*/ «cannot automatically increment values of type ‘%sn«, /*069*/ «arrays in info structs must be unsized and single dimensionn«, /*070*/ «assertion failed%sn«, /*071*/ «user-defined operator must be declared before use (function «%s«)n«, /*072*/ ««sizeof« operator is only valid on variablesn«, /*073*/ «function argument must be an array (argument «%s«)n«, /*074*/ «#define pattern must start with an alphabetic charactern«, /*075*/ «input line too long (after substitutions)n«, /*076*/ «syntax error in the expression, or invalid function calln«, /*077*/ «arrays cannot be indexed by non-integral type ‘%sn«, /*078*/ «function uses both «return« and «return <value>«n«, /*079*/ «inconsistent return types (array & non-array)n«, /*080*/ «‘…’ not allowed in enum struct initializersn«, /*081*/ «enum struct field arrays must have fixed sizesn«, /*082*/ «properties cannot be arraysn«, /*083*/ «methodmap methods cannot return arraysn«, /*084*/ «cannot call constructor for ‘%s‘ as static methodn«, /*085*/ «type «%s« can only be used in new-style declarationsn«, /*086*/ «number literal has invalid digitsn«, /*087*/ «enum struct «%s« cannot refer to itselfn«, /*088*/ «cannot return a value from a void functionn«, /*089*/ «casting a void function is illegaln«, /*090*/ «public functions may not return arrays (symbol «%s«)n«, /*091*/ «more initializers than enum fieldsn«, /*092*/ «number of arguments does not match definitionn«, /*093*/ «cannot divide by zeron«, /*094*/ «cannot apply const qualifier to enum struct field «%s«n«, /*095*/ «type «%s« cannot be applied as a tagn«, /*096*/ «could not find member «%s« in %s «%s«n«, /*097*/ «overflow in integer divisionn«, /*098*/ «type «%s« should be «%s« in new-style declarationsn«, /*099*/ «%s should not have an explicit return typen«, /*100*/ «function prototypes do not matchn«, /*101*/ «fixed dimensions must be after the array name, not on the typen«, /*102*/ «cannot find %s %sn«, /*103*/ «%s was already defined on this %sn«, /*104*/ «cannot find any methods for %sn«, /*105*/ «cannot find method or property «%s.%s«n«, /*106*/ «invalid expression, must be integraln«, /*107*/ «cannot call methods on a functionn«, /*108*/ «resolution operator (::) can only resolve field offsets of enum structsn«, /*109*/ «%s name must start with an uppercase lettern«, /*110*/ «%s has already been defined (previously seen as %s)n«, /*111*/ «cannot index into enum struct «%s«n«, /*112*/ «resolution operator (::) cannot be used on «%s«n«, /*113*/ «constructor for «%s« already existsn«, /*114*/ «missing type, or %s must have the same name as %s «%s«n«, /*115*/ «cannot use delete, %s %s has no destructorn«, /*116*/ «no methodmap or class was found for %sn«, /*117*/ «enum structs cannot be indexed as arraysn«, /*118*/ «custom destructors are no longer supportedn«, /*119*/ «enum struct «%s« must have at least one fieldn«, /*120*/ «methodmap and class signatures must use new-style type declarationsn«, /*121*/ «cannot specify array dimensions on both type and namen«, /*122*/ «expected type expressionn«, /*123*/ «fully-qualified name «%s« is too long, would be truncated to «%s«n«, /*124*/ «unexpected token, expected method or propertyn«, /*125*/ «expected «native«, «get«, or «set«n«, /*126*/ «%s for %s already existsn«, /*127*/ «property getters cannot accept extra argumentsn«, /*128*/ «cannot return an array of indeterminate lengthn«, /*129*/ «cannot mix methodmaps and classes with inheritancen«, /*130*/ «cannot coerce functions to valuesn«, /*131*/ «cannot coerce object type %s to non-object type %sn«, /*132*/ «cannot coerce non-object type %s to object type %sn«, /*133*/ «cannot coerce unrelated object types %s and %sn«, /*134*/ «type mismatch (expected «%s«, got «%s«)n«, /*135*/ «cannot use enum struct type «%s« in nativesn«, /*136*/ «reference is redundant, enum struct types are array-liken«, /*137*/ «cannot mix reference and array typesn«, /*138*/ «const was specified twicen«, /*139*/ «could not find type «%s«n«, /*140*/ «function ‘%s‘ does not return a valuen«, /*141*/ «natives, forwards, and public functions cannot return arraysn«, /*142*/ «unexpected array expressionn«, /*143*/ «new-style declarations should not have «new«n«, /*144*/ «void cannot be used as a variable typen«, /*145*/ «invalid type expressionn«, /*146*/ «#pragma newdecls must be required or optionaln«, /*147*/ «new-style declarations are requiredn«, /*148*/ «cannot assign null to a non-nullable typen«, /*149*/ «no getter found for property %sn«, /*150*/ «setter must take exactly one extra argument with type %sn«, /*151*/ «unmatched opening brace (‘{‘) (line %d)n«, /*152*/ «no setter found for property %sn«, /*153*/ «Array-based enum structs have been removed. See https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structsn«, /*154*/ «cannot assign INVALID_FUNCTION to a non-function typen«, /*155*/ «expected newline, but found ‘%sn«, /*156*/ «invalid ‘using’ declarationn«, /*157*/ «%s‘ is a reserved keywordn«, /*158*/ «multi-tags are no longer supportedn«, /*159*/ «brackets after variable name indicate a fixed-size array, but size could not be determined — « «either specify sizes, an array initializer, or use dynamic syntax (such as ‘char[] x’)n«, /*160*/ «brackets in between type and variable name indicate a dynamic-size array, but a fixed-size « «initializer was givenn«, /*161*/ «brackets after variable name indicate a fixed-size array, but a dynamic size was given — did « «you mean to use ‘new %s[size]’ syntax?n«, /*162*/ «cannot create dynamic arrays in global scope — did you mean to « «create a fixed-length array?n«, /*163*/ «indeterminate array size in «sizeof« expression (symbol «%s«)n«, /*164*/ «allocated array type ‘%s‘ doesn’t match original type ‘%sn«, /*165*/ «cannot create dynamic arrays in static scope — did you mean to create a fixed-length array « «with brackets after the variable name?n«, /*166*/ «cannot use ‘this’ outside of a methodmap method or propertyn«, /*167*/ «cannot use delete, %s do not have destructorsn«, /*168*/ «re-tagging enums is no longer supportedn«, /*169*/ «cannot tag an enum as implicit-intn«, /*170*/ «creating new object ‘%s‘ requires using ‘new’ before its constructorn«, /*171*/ «cannot use ‘new’ with non-object-like methodmap ‘%sn«, /*172*/ «methodmap ‘%s‘ does not have a constructorn«, /*173*/ «%s‘ is a newly reserved keyword that may be used in the future; use a different name as an « «identifiern«, /*174*/ «symbol ‘%s‘ is a type and cannot be used as a valuen«, /*175*/ «constructors cannot be staticn«, /*176*/ «non-static method or property ‘%s‘ must be called with a value of type ‘%sn«, /*177*/ «static method ‘%s‘ must be invoked via its type (try ‘%s.%s‘)n«, /*178*/ «cannot coerce %s[] to %s[]; storage classes differn«, /*179*/ «cannot assign %s[] to %s[], storage classes differn«, /*180*/ «function return type differs from prototype. expected ‘%s‘, but got ‘%sn«, /*181*/ «function argument named ‘%s‘ differs from prototypen«, /*182*/ «functions that return arrays cannot be used as callbacksn«, /*183*/ «brackets after variable name indicates a fixed-size array, but « «size is missing or not constantn«, /*184*/ «implicit dynamic array has a dimension of unspecified sizen«, /*185*/ «invalid default array initializern«, }; static const char* warnmsg[] = { /*200*/ «symbol «%s« is truncated to %d charactersn«, /*201*/ «redefinition of constant/macro (symbol «%s«)n«, /*202*/ «number of arguments does not match definitionn«, /*203*/ «symbol is never used: «%s«n«, /*204*/ «symbol is assigned a value that is never used: «%s«n«, /*205*/ «redundant code: constant expression is zeron«, /*206*/ «redundant test: constant expression is non-zeron«, /*207*/ «unknown #pragman«, /*208*/ «function with tag result used before definition, forcing reparsen«, /*209*/ «function has explicit ‘int’ tag but does not return a valuen«, /*210*/ «possible use of symbol before initialization: «%s«n«, /*211*/ «possibly unintended assignmentn«, /*212*/ «possibly unintended bitwise operationn«, /*213*/ «tag mismatch (expected «%s«, got «%s«)n«, /*214*/ «possibly a «const« array argument was intended: «%s«n«, /*215*/ «expression has no effectn«, /*216*/ «nested commentn«, /*217*/ «inconsistent indentation (did you mix tabs and spaces?)n«, /*218*/ «old style prototypes used with optional semicolumnsn«, /*219*/ «local variable «%s« shadows a variable at a preceding leveln«, /*220*/ «expression with tag override must appear between parenthesesn«, /*221*/ «label name «%s« shadows tag namen«, /*222*/ «number of digits exceeds rational number precisionn«, /*223*/ «redundant «sizeof«: argument size is always 1 (symbol «%s«)n«, /*224*/ «user warning: %sn«, /*225*/ «unreachable coden«, /*226*/ «a variable is assigned to itself (symbol «%s«)n«, /*227*/ «illegal charactern«, /*228*/ «enum multiplers are deprecated and will be removed in the next releasen«, /*229*/ «index tag mismatch (symbol «%s«)n«, /*230*/ «symbol «%s« is not a preprocessor symbol; this behavior is undefined and will be removed in the futuren«, /*231*/ «unused231n«, /*232*/ «output file is written, but with compact encoding disabledn«, /*233*/ «unused233n«, /*234*/ «symbol «%s« is marked as deprecated: %sn«, /*235*/ «unused235n«, /*236*/ «unused236n«, /*237*/ «coercing functions to and from primitives is unsupported and will be removed in the futuren«, /*238*/ «%s:’ is an illegal cast; use view_as<%s>(expression)n«, /*239*/ «%s‘ is an illegal tag; use %s as a typen«, /*240*/ «%s:’ is an old-style tag operation; use view_as<type>(expression) insteadn«, /*241*/ «scalar assignment to array is deprecated; use «{ <val>, … }« insteadn«, /*242*/ «function «%s« should return an explicit valuen«, /*243*/ «syntax is deprecated; use parenthesis insteadn«, /*244*/ «field ‘%s‘ was specified twicen«, /*245*/ «function %s implements a forward but is not marked as publicn«, /*246*/ «function %s returns an array but return type is not marked as an arrayn«, /*247*/ «include paths should be enclosed in «quotes« or <angle brackets>n«, /*248*/ «character is not utf-8 encodedn«, /*249*/ «function name is always true — possible missing parenthesis?n«, /*250*/ «pragma has no effectn«, /*251*/ «const variable was not initializedn«, }; static const char* errmsg_ex[] = { /*400*/ «function «%s« must return a valuen«, /*401*/ «cannot specify ‘…’ arguments more than oncen«, /*402*/ «cannot specify additional arguments after ‘…’n«, /*403*/ «not yet implementedn«, /*404*/ «enum multiplers are no longer supportedn«, /*405*/ «invalid assignmentn«, /*406*/ «operator %s(%s) was used before declarationn«, /*407*/ «operator %s(%s, %s) was used before declarationn«, /*408*/ «recursion detected in user operatorn«, /*409*/ «methodmap %s referenced before definitionn«, /*410*/ «methodmap inheritance forms a cyclen«, /*411*/ «cannot determine fixed array size of return valuen«, /*412*/ «function %s implements a forward but is not marked as publicn«, /*413*/ «returned array does not have the same dimension count as return typen«, /*414*/ «include statements are only allowed at the top-level scopen«, /*415*/ «assertion failedn«, /*416*/ «user error: %sn«, /*417*/ «cannot read from file: «%s«n«, /*418*/ «deprecated syntax; see https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefsn«, /*419*/ «cannot write to file: «%s«n«, /*420*/ «unhandled AST type: %dn«, /*421*/ «too many functionsn«, /*422*/ «no more source locations, too much source textn«, /*423*/ «internal compiler error: error propagated with no messagen«, /*424*/ «integer literal contains no digitsn«, /*425*/ «exponential must be followed by integern«, /*426*/ «macro arguments must be %% followed by a single digitn«, /*427*/ «macro argument %%%d already usedn«, /*428*/ «invalid macro argument, mismatched parenthesisn«, /*429*/ «wrong number of macro arguments (expected %s, got %s)n«, /*430*/ «invalid macro definitionn«, /*431*/ «script uses too much memory, cannot compilen«, /*432*/ «type %s was already declared as %sn«, };

Dislikes Dislikes:  0

  1. 09-30-2021


    #1

    mshabban is offline


    Trusted Tech

    50+ Posts

    Xerox J75 error 092-327

    mshabban's Avatar


    Rep Power
    0

    Xerox J75 error 092-327

    Hello guys ,hope all is well , am having issues with a J75 intermittently displaying error code 092-327 ,092-325,092-326 , any help will be highly appreciated


  2. 09-30-2021


    #2

    Re: Xerox J75 error 092-327

    Quote Originally Posted by mshabban
    View Post

    Hello guys ,hope all is well , am having issues with a J75 intermittently displaying error code 092-327 ,092-325,092-326 , any help will be highly appreciated

    Sent you pm. Why you dont have sm for the machine ?


  3. 10-01-2021


    #3

    Re: Xerox J75 error 092-327

    Quote Originally Posted by adriansto
    View Post

    Sent you pm. Why you dont have sm for the machine ?

    +1

    Sent from my SM-G960U using Tapatalk


Tags for this Thread

Bookmarks

Bookmarks


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules

Из названия все ясно. ИД’ы всех ошибок, фатальных ошибок, а также предупреждений в 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. 

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

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

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

  • Error 08001 timeout expired
  • Error 08 шерхан mobicar
  • Error 079 inconsistent return types array non array
  • Error 078 function uses both return and return value
  • Error 075 input line too long after substitutions павно

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

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