All compilation error messages in keil compilation

Publisher:创意航海Latest update time:2020-10-15 Source: 51heiKeywords:keil Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. "c" not an argument in function sum The identifier is not a function parameter  

2.array bounds missing ] in function main Missing array bounds "]"  

3.Array size too large in function main  

4.bad file name format in include directive The file name format in the include directive is incorrect.  

5.Call of non-function in function main Calling an undefined function.  

6. cannot modify a const object in function main Constants cannot be modified.  

7. character constant too long in function main  

8. constant expression required in function main When defining an array, the array size must be a constant  

9. Compound statement missing } in function main  

10.declaration syntax error in function main  

11.expression syntax in function main  

12. Extra parameter in call to sum in function Too many parameters are used when calling a function  

13.illegal use of floating point in function main  

14. Illegal pointer subtraction in function main  

15. invalid pointer addition in function main  

16.out of memory in function main  

17.statement missing ; in function main The semicolon is missing after the statement.  

Warning error  

1. "k" is assigned a value which is never used. A variable is defined, but the program has never used it.  

2. Possibly incorrect assignment in function main  

3. suspicious pointer conversion in function main  

4. Code has no effect in function main  

Ambiguous operators need parentheses: Ambiguous operations need to be enclosed in parentheses  

Ambiguous symbol 'xxx' : Ambiguous symbol  

Argument list syntax error: Argument list syntax error  

Array bounds missing: Missing array bounds  

Array size toolarge: The array size is too large  

Bad character in paramenters: There are inappropriate characters in the parameters  

Bad file name format in include directive: The file name format in the include directive is incorrect  

Bad ifdef directive syntax: The compiler preprocessor ifdef has syntax errors  

Bad undef directive syntax: The compiler preprocessor undef has a syntax error  

Bit field too large: The bit field is too long  

Call of non-function: Calling an undefined function  

Call to function with no prototype: There is no function description when calling a function  

Cannot modify a const object: Constant objects are not allowed to be modified  

Case outside of switch: missing case statement  

Case syntax error: Case syntax error  

Code has no effect: Code cannot be described or executed.  

Compound statement missing{: Compound statement missing "{"  

Conflicting type modifiers: Ambiguous type specifier  

Constant expression required: Requires a constant expression  

Constant out of range in comparison: Constant out of range in comparison  

Conversion may lose significant digits:  

Conversion of near pointer not allowed: Conversion of near pointer is not allowed  

Could not find file 'xxx': Could not find the XXX file  

Declaration missing ; :Declaration missing ";"  



Declaration syntax error: Syntax error in the declaration  

Default outside of switch :Default appears outside the switch statement  

Define directive needs an identifier: Define the compiler preprocessing needs an identifier  

Division by zero: Use zero as divisor  

Do statement must have while : The while part is missing in the Do-while statement  

Enum syntax error: Enumeration type syntax error  

Enumeration constant syntax error: Enumeration constant syntax error  

Error directive: xxx: Error compilation preprocessing command  

Error writing output file: Error writing output file  

Expression syntax error: Expression syntax error  

Extra parameter in call: Extra error when calling  

File name too long: The file name is too long  

Function call missing ) : Function call missing closing bracket  

Function definition out of place: Function definition location error  

Function should return a value: Function must return a value  

Goto statement missing label: Goto statement has no label  

Hexadecimal or octal constant too large:  

Illegal character 'x': Illegal character x  

Illegal initialization: Illegal initialization  

Illegal octal digit: Illegal octal digit  

Illegal pointer subtraction: Illegal pointer subtraction  

Illegal structure operation: Illegal structure operation  

Illegal use of floating point: Illegal floating point operation  

Illegal use of pointer: Illegal use of pointer  

Improper use of a typedefsymbol: Improper use of a typedefsymbol  

In-line assembly not allowed: In-line assembly is not allowed  

Incompatible storage class: Storage class is incompatible  

Incompatible type conversion: Incompatible type conversion  

Incorrect number format: Incorrect data format  

Incorrect use of default  

Improper use of Default  

Invalid indirection Invalid indirection  

Invalid pointer addition Invalid pointer addition  

Irreducible expression tree  

Lvalue required requires a logical value of 0 or non-zero  

Macro argument syntax error Macro argument syntax error  

Macro expansion too long Macro expansion too long  

Mismatched number of parameters in definition  

Misplaced break A break statement should not appear here  

Misplaced continue A continue statement should not appear here  

Misplaced decimal point A decimal point should not appear here  

Misplaced elif directive should not compile preprocessor elif  

Misplaced else Else should not appear here  

Misplaced else directive The compiler preprocessor else should not appear here  

Misplaced endif directive The compiler preprocessor endif should not appear here  

Must be addressable  

Must take address of memory location  

No declaration for function 'xxx' No declaration for function xxx  

No stack  

No type information  

Non-portable pointer assignment Non-portable pointer assignment  

Non-portable pointer comparison Non-portable pointer comparison  

Non-portable pointer conversion Non-portable pointer (address constant) conversion  



Not a valid expression format type  

Not an allowed type  

Numeric constant too large Numeric constant too large  

Out of memory  

Parameter 'xxx' is never used  

Pointer required on left side of -> The left side of the symbol -> must be a pointer  

Possible use of 'xxx' before definition xxx is used before definition (warning)  

Possibly incorrect assignment  

Redeclaration of 'xxx' Redeclaration of xxx  

Redefinition of 'xxx' is not identical  

Register allocation failure Register allocation failure  

Repeat count needs an lvalue Repeat count needs an lvalue  

Size of structure or array not known  

Statement missing; ";" is missing after the statement  

Structure or union syntax error X Structure or union syntax error  

Structure size too large  

Sub scripting missing ]  

Superfluous & with function or array  

Suspicious pointer conversion  

Symbol limit exceeded Symbol limit exceeded  

Too few parameters in call The actual parameters in the function call are less than the function's parameters.  

Too many default cases Too many default cases (one in a switch statement)  

Too many error or warning messages Too many error or warning messages  

Too many type in declaration  

Too much auto memory in function The function uses too much local storage  

Too much global data defined in file Too much global data defined in file  

Two consecutive dots  

Type mismatch in parameter xxx  

Type mismatch in redeclaration of 'xxx'  

Unable to create output file 'xxx' Unable to create output file xxx  

Unable to open include file 'xxx' Unable to open the included file xxx  

Unable to open input file 'xxx' Unable to open input file xxx  

Undefined label 'xxx' Undefined label xxx  

Undefined structure 'xxx' Undefined structure xxx  

Undefined symbol 'xxx' Undefined symbol xxx  

Unexpected end of file in comment started on line xxx  

The comment starting from line xxx has not ended yet and the file cannot be ended  

Unexpected end of file in conditional started on line xxx from xxx  

The file cannot be ended because the conditional statement at the beginning has not yet ended.  

Unknown assemble instruction Unknown assembly structure  

Unknown option Unknown operation  

Unknown preprocessor directive: 'xxx' Unknown preprocessor directive xxx  

Unreachable code  

Unterminated string or character constant The string is missing quotes  

User break The user forcibly interrupted the program  

Void functions may not return a value Void functions should not have a return value  

Wrong number of arguments The number of arguments in the function call is wrong  

'xxx' not an argument xxx is not a parameter  

'xxx' not part of structure xxx is not part of the structure  

xxx statement missing (xx statement is missing the left bracket  

xxx statement missing ) xxx statement is missing the closing bracket  

xxx statement missing; xxx is missing a semicolon  

xxx' declared but never used  

xxx' is assigned a value which is never used  


Keywords:keil Reference address:All compilation error messages in keil compilation

Previous article:A Practical Method of Generating 38KHz with Single Chip Microcomputer
Next article:C program for infrared transmission and reception based on 51 single chip microcomputer + 0038

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号