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
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
- Popular Resources
- Popular amplifiers
- Learn ARM development(15)
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- What waveforms can power amplifiers amplify?
- Download: Distributed Wi-Fi for Smart Homes
- 【ST NUCLEO-H743ZI Review】+ Unboxing and lighting
- Introduction to ST MEMS Sensor Machine Learning (MLC) Function
- A new type of microstrip array antenna
- EEWORLD University ---- ESP32 Video Tutorial
- How to purchase website core points?
- [Raspberry Pi 4B Review] Installing the router system OpenWrt on Raspberry Pi 4
- Chapter 2: Creation of Development Environment
- Summary of netizens' sharing (including works) - 2020 ST MEMS Sensor Creative Design Competition