Turbo C (V2.0) Compile Error Information Compiling Error Information Description: Turbo C Source Transmission Error is divided into three types: fatal errors, general errors, and warnings. Among them, fatal errors are usually internal compilation errors; a syntax error, disk or memory access error, or command line error, or a command line error, is only pointed out, it does not prevent compilation. The following is listed in alphabetical sequence A to z, and the general error message, English-Chinese control and processing method: (1), fatal error English-Chinese control and processing method: A-B fatal error Bad Call of in-line function Illegal calls) Analysis and Processing: When using a macro defined internal function, it is not possible to call correctly. An internal function begins and ends with two underscores (__). IrreduCable Expression Tree Analysis and Processing: This error is too complex in the file line, so that the code generator cannot generate code for it. This expression must be avoided. Register Allocation Failure Analysis and Processing: This error is too complex in the file line, the code generator cannot generate code. This complicated expression or simply avoiding it should be simplified. (2), general error message English-Chinese and handling method #operator not followed by maco argument name (# # # 没 没 跟 变 变 元 元 元) Analysis and Processing: In the macro definition, # is used to identify a macro string. After the "#" number must be followed by a macro. 'xxxxxx' not anargument ('xxxxxx' is not a function parameter) analysis and processing: Define this identifier in the source program as a function parameter, but this identifier is not appearing in a function. Ambiguous Symbol 'XXXXXX' (Embodiment Symbol 'XXXXX') Analysis and Processing: A certain domain name of two or more structures, but has an offset, and the type is different. When the domain is referenced in a variable or expression, it is generated when the structure is not structured, and a domain name is modified or the structure name is added when referenced. Argument # missing name Analysis and Processing: Parameter names have been detached from function prototypes for defining functions. If the function is defined as prototype, the function must contain all parameter names. Argument List Syntax Error Analysis and Processing: The parameters of the function call must be separated by a comma, and end with a right bracket. If the source file contains a parameter that is not a comma nor the right bracket, it is wrong. Array Bounds Missing (Ident "]" Loss) Analysis and Processing: An array is defined in the source file, but this array does not end the following right brackets. Array Size Too Large Analysis and Processing: The array of arms is too large, exceeding the available memory space. Assembler Statement Too Long (Compilation Specifier Too Long) Analysis and Processing: The internal assembly statement cannot exceed 480 bytes. Bad Configuration File Analysis and Processing: Non-annotations in the Turboc.cfg configuration file are not the appropriate command line selection. The configuration file command selection must start with a short horizontal line. Bad file name format in include Directive (incorrect in the instructions in the instruction) Analysis and Processing: The included file name must be enclosed in quotation marks ("filename.h") or polar brackets (
BAD IFDEF Directive Syntax (IFDEF Directive Syntax Errors) Analysis and Processing: #IFDEF must be a body that the instruction must be used in a single identifier (only one). BAD IFNDEF DIRECTIVE SYNTAX (IFNDEF Instruction Syntax Error) Analysis and Processing: #ifndef must be a body that the instruction must be used in a single identifier (only one). BAD Undef Directive Syntax Analysis and Processing: #UNDEF instructions must be used as the body of the instruction in a single identifier (only one). Bad File Size Syntax Analysis and Processing: A bit field length must be a constant expression of 1-16 bits. Call of non-functionin (Call Undefined Function) Analysis and Processing: The function being called is not defined, which is usually caused by incorrect function declaration or function name. Cannot Modify a const object (You can modify a length of object) Analysis and Processing: Do not legal operations for objects defined as constants (such as constant assignments) caused. Case Outside of Switch (Case appears outside Switch) Analysis and Processing: Compiler Discovering the CASE statement appears outside of the Switch statement, this type of failure is usually caused by parentheses. Case Statement Missing Analysis and Processing: The case must contain a constant expression ended with a colon. This type of error will occur if you miss a colon or other symbols before the colon. Character Constant Too Long Analysis and Processing: The length of the character constant is usually only one or two characters long, and this error will occur. Compound Statement Missing Analysis and Processing: The Compiler Scan to the source file, no end symbols (braces), such faults are usually caused by parentheses. Conflicting Type Modifiers Analysis and Processing: For the same pointer, you can only specify an index modifier (such as NEAR or FAR); for the same function, you can only give a language modifier (such as CDECL, PASCAL or Interrupt). Constant Expression Required (requires constant expression) Analysis and processing: The size of the array must be constant, this error is usually caused by the spelling error of the #define constant. Could not find file 'xxxxxx.xxx' (no 'xxxxxx.xx' file) Analysis and Processing: Compiler Can't find the file given on the command line. Declaration Missing Analysis and Processing: When the source file contains a Struct or UNION domain declaration, such an error occurs after leaking a semicolon. Declaration Needs Type or Storage Class (Description You must give a type or storage class) Analysis and Processing: The correct variable description must indicate the type of variable, otherwise such an error will appear. Declaration Syntax Error Analysis and Processing: In the source file, such an error will occur if some instructions lose some symbols or enter extra symbols. DEFAULT OUTSIDE OF SITCH (DEFAULT statement appears outside the Switch statement) Analysis and Processing: This type of error is usually caused by parentheses. Define Directive Needs An Identifier (Define Directions must have an identifier) Analysis and Processing: #define The first non-airga must be an identifier, if other characters appear in this location, this type of error will cause this.
Division By Zero (Zero) Analysis and Processing: When the constant expression of the source file has zero, this type of error will result. DO Statement Must Have While (WHILE keyword must be available in the DO statement) Analysis and Processing: If you contain a DoLle keyword without a While keyword, this error occurs. Do WHILE STATEMENT MISSING ((") Analysis and Processing: In the DO statement, if there is no left bracket after the While keyword, this error occurs. DO While Statement Missing; (Do WHILE statement Number of semicolons) Analysis and Processing: In the conditional expression of the DO statement, such an error occurs if there is no semicolon behind the right parentheses.duplicate case (unique case) Analysis and processing: each case of the Switch statement There must be a unique constant expression value. Otherwise, such an error occurred. Neum syntax error analysis and processing: If the enum description log format is not correct, this class error will occur .Enumeration constant Syntax Error (enumeration constant syntax error) Analysis and processing: If the expression value of the ENUM type variable is not constant, this type of error will occur. Error Directive: XXXX (Error Directive: xxxx) Analysis and Processing: Source File When processing #error instruction, the information indicated by the instruction is displayed. Error Writing Output File analysis and processing: This type of error is usually due to the disk space is full, and cannot be written. PerXpression Syntax Error Expression syntax error) Analysis and processing: This error is usually due to two consecutive operators, brackets do not match or miss parentheses, and the previous statement misses the semicolon caused by the semicolon. Exera parameter in Call (excess parameters when calling ) Analysis and processing: This error is due to the call function, its actual parameter is more than the number of parameters in the function definition. Extra parameter in call to xxxxxx (Excess parameters when calling the xxxxxxxx function) File Name Too Long (File Name Tap) Analysis and Processing: #include Directive The file name given is too long, causing such errors if the compiler cannot process. Usually the file name under DOS cannot exceed 64 characters .for statement missing (FOR 语名 ")") ")") Analysis and Processing: In the For statement, this error occurs if the right brackets are missing after the expression is controlled. For Statement Missing (") (") for Statement Missing; (for statement lacks ";") Analysis and processing: In the For statement, this error occurs when a semicolon is missing after an expression. Function Call Missing) (Lack of Function) ")") ") Analysis and Processing: This type of error occurs if the parameter table of the function call is missing the right brace or parentheses.
Function Definition Out ofPlace Function Doesn't Take A Variable Number of Argument (Function Do not accept variable parameters) GOTO STATEMENT MISSING LABEL (List of Goto Statement) If Statement Missing (Lack of IF Statement " (") IF statement missing (IF statement") ")") ") LLLEGAL INITALIZATION LLLEGAL Octal Digit analysis and processing: Such errors are usually caused by non-eight-in-one in the octal constant.
lllegal pointer subtraction (subtraction invalid pointer) lllegal structure operation (illegal operation structure) lllegal use of floating point (floating point illegal) lllegal use of pointer (pointer illegal) Improper use of a typedef symbol (typedef symbol improper use) Incompatible Storage Class (incompatible storage type) INCOMPATIBLE TYPE Conversion Incorrect Commadn line Argument: xxxxxx (incorrect command line parameters: xxxxxxx) incorrect Commmadn file argument: xxxxxx (incorrect configuration file parameters : xxxxxxx) incorrect number format (incorrect data format) incorrect use of default (deflult incorrect use of) Initializer syntax error (initialization syntax errors) Invaild indrection (invalid indirection) invalid macro argument separator (invalid macro parameter separator ) Invalid Pointer Addition Invalid Use of Dot (Point User Wrong) Macro Argument Syntax Error (Macro Patriotic Language Errors) MACRO Expansion Too Long (Macro Extension is too long) mismatch number of parameters in definition (Definition parameters The number of mismatches) Misplaced break (break position error) Misplaced continue (position error) Misplaced decimal point (decimal point position error) Misplaced else error (the else position) Misplaced else driective (clse command position error) Misplaced endif directive (endif command position Wrong) Must Be Addressable (must be addressed) Must Take Address of Memory Location (must be within Add address) No file name ending No file names given (no file name) Non-Protable Pointer Assignment Non-Protable Pointer Comparison (non-portable pointer comparison) NON-Protable Return Type Conversion (NOTCA) NOT OF MEMORY (Not Allowed) Pointer Required On LEFT SIDE OF E (1) REDECLAATION OF 'XXXXXX '(' Xxxxxx 'redifact) Size of structure or array not known (structure or array size) statement missing; (statement lacks ";") Structure or union syntax error (structure or joint syntax error) Structure Size TO LARGE Too big) Subscription missing] (Lack of subscript ") Switch Statement Missing (" Switch Statement "(") Switch Statement Missing) ")") ")") ")") TOO FEW Parameters in Call (Too few) Too Few Parameter in Call to'xxxxxx '(call "
XXXXXX 'Too fewer parameters) Too Many Cases (Cases too many) Too Many Decimal Points (Too many decimal points) Too Many Default Cases (DEFAUT Too many) Too Many Exponents Too Many Initializers (Too many initialization Too Many Storage Classes in Declaration (Too many stores in the description) Too Much Auto Memory in function (Too many automatic storage in the function) Too Much Global Define in file (file in the file) Too MUCH AUTO MEMORY IN FUNECTION Defined global data too much) TWO Consecutive dots TYPE Mismatch in Parameter # (Parameter "#" type mismatch) Type Mismatch in parameter # in call to 'xxxxxxx' (call 'xxxxxxx "parameter # type mismatch) type missmatch in parameter 'XXXXXXX' (parameter 'XXXXXXX' type mismatch) type mismatch in parameter 'YYYYYYYY' in call to 'YYYYYYYY' (call 'YYYYYYY' parameter 'XXXXXXXX' number type mismatch) type mismatch in Redeclaration of 'XXX' (Red Definition Type Mismatch) Unable to Creat Output File 'XXXXXXX.XXX' (You cannot create output file 'xxxxxxx.xxx') Unable to create turboc.lnk (you can't create Turboc.lnk) Unable to Execute Command 'xxxxxxxx' (cannot perform the 'xxxxxxx' command) unable to open incrude file 'xxxxxxx.xxx' (cannot open the file 'xxxxxxx.xxxx') unable to open inputfile 'xxxxxx.xxx' (cannot open the input file 'xxxxxxxx.xxx ') Undefined label' xxxxxxx '(label' xx xxxxx 'undefined) Undefined structure' xxxxxxxxx '(structures' xxxxxxxxxx' undefined) Undefined symbol 'xxxxxxx' (symbol 'xxxxxxxx' undefined) Unexpected end of file in comment started on line # (source file a comment accident End) UNEXPECTED End Of File In Conditional Stated Online # (Source File At the Conditional Statement of the # 行 意 结 结) Unknown Preprocessor Directive 'XXX' (Understanding Preprocessing Instruction: 'XXX') Untermimated Character Constant (not ended Character constant) Unterminated string Unterminated string or character constant (untenited string or character constant) USER BREAK VALUE Required (assignment request) While Statement Missing ((WHILE List) ('