天天看點

Delphi 編譯錯誤資訊表

<a target="_blank" href="http://www.cnblogs.com/del/archive/2007/12/05/984184.html">Delphi 編譯錯誤資訊表</a>

; not allowed before ELSE

ElSE前不允許有“;”

&lt;clause&gt; clause not allowed in OLE automation section

在OLE自動區段不允許“&lt;clause&gt;”子句

&lt;name&gt; is not a type identifier

&lt;name&gt;不是類型辨別符

&lt;name&gt; not previously declared as a PROPERTY

&lt;name&gt;前面沒有說明PROPERTY

GOTO &lt;label&gt; leads into or out of TRY statement GOTO

&lt;label&gt;進入或超出TRY語句的範圍

&lt;clause1&gt; clause expected, but &lt;clause2&gt; found

要求子句&lt;clause1&gt;,但出現&lt;clause2&gt;

16-Bit fixup encountered in object file &lt;text&gt;

在對象檔案&lt;text&gt;遇到16位修複

486/487 instructions not enabled

不能用486/487指令

Abstract methods must be virtual or dynamic

抽象方法必須為虛拟的或動态的

Array type required

需要數組類型

Assignment to FOR-Loop variable &lt;Name&gt;

給FOR循環變量&lt;Name&gt;指派

Bad argument type in variable type array constructor

在變量類型數組結構中不正确的參數類型

Bad file format &lt;name&gt;

錯誤的檔案格式&lt;name&gt;

Bad file format: &lt;Filename&gt;

錯誤的檔案格式&lt;Filename&gt;

Bad global symbol definition: &lt;Name&gt; in object file &lt;Filename&gt;

對象檔案&lt;Filename&gt;中錯誤的全局符号定義&lt;Name&gt;

Bad unit format: &lt;Filename&gt;

錯誤的單元格式&lt;Filename&gt;

BREAK or CONTINUE outside of loop

BREAK或CONTINUE超出循環

Cannot add or subtract relocatable symbols

不能增加或減少可重置的符号

Cannot assign to a read-only property

不能指定隻讀屬性

Cannot BREAK, CONTINUE or EXIT out of a FINALLY clause

超出FINALLY子句的範圍,不能使用BREAK,CONTINUE或EXIT語句

Cannot initialize local variables

不能初始化局部變量

Cannot initialize multiple variables

不能初始化多個變量

Cannot initialize thread local variables

不能初始化線程局部變量

Cannot override a static method

不能覆寫靜态方法

Cannot read a write-only property

不能讀取隻寫屬性

Case label outside of range of case expression

CASE标号超出了CASE表達式的範圍

Circular unit reference to &lt;Unitname&gt;

對單元&lt;Unitname&gt;循環引用

Class already has a default property

類已具有預設的屬性

Class does not have a default property

類沒有預設的屬性

Class or object types only allowed in type section

在類型區段隻允許有類或對象類型

Class type required

需要類類型

Close error on &lt;Filename&gt;

檔案&lt;Filename&gt;關閉錯誤

Compile terminated by user

使用者中止編譯

Constant expected

要求常量

Constant expression expected

要求常量表達式

Constant expression violates subrange bounds

常量表達式超出子界範圍

Constant object cannot be passed as var parameter

常量對象不能作為變量參數傳遞

Constant or type identifier expected

要求常量或類型辨別符

Constants cannot be used as open array arguments

常量不能用作打開數組參數

Constructing instance of &lt;name&gt; containing abstract methods

構造的&lt;name&gt;實體包含抽象的方法

Could not compile used unit &lt;Unitname&gt;

不能用單元&lt;Unitname&gt;編譯

Could not create output file &lt;Filename&gt;

不能建立輸出檔案&lt;Filename&gt;

Could not load RLINK32.DLL

不能加載RLINK32.DLL

Data type too large: exceeds 2 GB

資料類型太大:超過2GB

Declaration of &lt;Name&gt; differs from previous

declaration &lt;Name&gt;的說明與先前的說明不同

Default property must be an array property

預設的屬性必須為數組屬性

Default values must be of ordinal, pointer or small set type

預設的值必須為序數、指針或小集類型

Destination cannot be assigned to

目标不能指定

Destination is inaccessible

目标不能存取

Dispid &lt;number&gt; already used by &lt;name&gt;

DISPID辨別号已被&lt;name&gt;使用

Dispid clause only allowed in OLE automation section

DISPID子句隻能在OLE自動區段中使用

Division by zero

除數為零

Duplicate case label

CASE标号重複

Duplicate tag value

重複的标志值

Dynamic method or message handler not allowed here

這裡不允許有動态方法或資訊處理程式

Dynamic methods and message handlers not allowed in OLE automation section

在OLE自動區段不允許有動态方法或消息處理程式

Element 0 inaccessible - use Length or SetLength

元素0不能存取-使用LENGTH或SETLENGTH

Error in numeric constant

數值常量錯誤

EXCEPT or FINALLY expected

要求EXCEPT或FINALLY

EXPORTS allowed only at global scope EXPORTS

隻允許在全局範圍使用

Expression has no value

表達式沒有值

Expression too complicated

表達式太複雜

Field definition not allowed in OLE automation section

在OLE自動區段中不允許域定義

Field definition not allowed after methods or properties

在方法或屬性後不允許域定義

Field or method identifier expected

要求域或方法辨別符

File not found: &lt;Filename&gt;

檔案&lt;Filename&gt;沒有找到

File type not allowed here

這兒不允許檔案類型

For loop control variable must be simple local variable

FOR循環控制變量必須為簡單局部變量

For loop control variable must have ordinal type

FOR循環控制變量必須為序數類型

FOR or WHILE loop executes zero times - deleted

FOR或WHILE循環執行零次-删除

FOR-Loop variable &lt;name&gt; cannot be passed as var parameter

FOR循環變量&lt;name&gt;不能作為參數傳遞

FOR-Loop variable &lt;Name&gt; may be undefined after loop

在循環後的FOR循環變量&lt;NAME&gt;是不确定的

Function needs result type

函數需要結果類型

Identifier redeclared: &lt;name&gt;

辨別符&lt;name&gt;重複說明

Illegal character in input file: &lt;char&gt; ($&lt;hex&gt;)

在輸入檔案中的非法字元&lt;char&gt;

Illegal message method index

非法的消息方法指針

Illegal reference to symbol &lt;Name&gt; in object file &lt;Filename&gt;

在對象檔案&lt;filename&gt;中對符号&lt;name&gt;的非法引用

Illegal type in OLE automation section: &lt;typename&gt;

在OLE自動區段中的非法類型&lt;typename&gt;

Illegal type in Read/Readln statement

在Read/Readln語句中的非法類型

Illegal type in Write/Writeln statement

在Write/Writeln語句中的非法類型

Inaccessible value

不可存取的值

Incompatible types: &lt;name&gt; and &lt;name&gt;

不相容的類型&lt;name&gt;和&lt;name&gt;

Incompatible types: &lt;text&gt;

不相容的類型&lt;text&gt;

Inline assembler stack overflow

内聯彙編溢出

Inline assembler syntax error

内聯彙編文法錯誤

Instance variable &lt;name&gt; inaccessible here

實體變量&lt;name&gt;在這裡不能存取

Integer constant or variable name expected

要求整形常量或變量名

Integer constant too large

整型常量太大

Internal error: &lt;ErrorCode&gt;

内部錯誤&lt;errorcode&gt;

Invalid combination of opcode and operands

操作碼與操作對象的無效組合

Invalid compiler directive: &lt;Directive&gt;

無效的編譯指令&lt;DIRECTIVE&gt;

Invalid function result type

無效的函數值類型

Invalid message parameter list

無效的消息參數清單

Invalid register combination

無效的寄存器組合

Invalid typecast

無效的TYPECASE

Label &lt;Name&gt; is not declared in current procedure

在目前的過程中沒有說明标号&lt;NAME&gt;

Label already defined: &lt;Labelname&gt;

标号&lt;LABELNAME&gt;已經定義

Label declaration not allowed in interface part

在界面部分不允許标号說明

Label declared and referenced, but not set: &lt;label&gt;

标号被&lt;label&gt;說明及引用,但不能設定

Label expected

要求标号

Left side cannot be assigned to

左邊不能指派

Line too long (more than 255 characters)

行太長(超出255個字元)

Local class or object types not allowed

不允許局部的類或對象類型

Local procedure/function &lt;Name&gt; assigned to procedure variable

局部過程/函數&lt;NAME&gt;賦給過程變量

LOOP/JCXZ distance out of range

LOOP/JCXZ距離超出範圍

Low bound exceeds high bound

下界超過上界

Memory reference expected

要求記憶體引用

Method &lt;name&gt; hides virtual method of base type &lt;name&gt;

方法&lt;NAME&gt;隐藏了基類型為&lt;NAME&gt;的虛拟方法

Method &lt;name&gt; not found in base class

在基類中沒有找到方法&lt;NAME&gt;

Method identifier expected

要求方法辨別符

Missing ENDIF directive

缺少ENDIF指令

Missing operator or semicolon

缺少操作符或分号

Missing or invalid conditional symbol in $&lt;symbol&gt; directive

在$&lt;symbol&gt;指令中缺少或無效的條件符号

Missing parameter type

缺少參數類型

Necessary library helper function was eliminated by linker

必要的庫幫助函數被連接配接程式删除

No definition for abstract method &lt;name&gt; allowed

抽象方法&lt;NAME&gt;沒有定義

Not enough actual parameters

沒有足夠的實際參數

Number of elements differs from declaration

元素數與說明不同

Numeric overflow

數值溢出

Object or class type required

需要對象或類類型

Object type required

需要對象類型

Only register calling convention allowed in OLE automation section

在OLE自動區段中隻允許寄存器調用約定

Operand size mismatch

運算對象大小比對

Operator not applicable to this operand type

運算符不使用于這一運算對象類型

Order of fields in record constant differs from declaration

在記錄常量中的域次序與說明不同

Ordinal type required

需要序數類型

Out of memory

記憶體溢出

Overflow in conversion or arithmetic operation

轉換或算術操作溢出

Overriding automated virtual method &lt;name&gt; cannot specify a dispid

覆寫的自動虛拟方法&lt;NAME&gt;不能指定DISPID

PACKED not allowed here

這裡不允許PACKED

Pointer type required

需要指針類型

Procedure cannot have a result type

過程不能有結果類型

Procedure DISPOSE needs destructor

過程DISPOSE需要destructor

Procedure FAIL only allowed in constructor

過程FAIL隻允許在constructor方法中

Procedure NEW needs constructor

過程NEW需要constructor方法

PROCEDURE or FUNCTION expected

要求PROCEDURE或FUNCTION

Procedure or function name expected

要求過程或函數名

Program or unit &lt;name&gt; recursively uses itself

程式或單元遞歸

Property &lt;name&gt; does not exist in base class

在基類中&lt;NAME&gt;屬性不存在

Published property &lt;name&gt; cannot be of type &lt;type&gt;

Published屬性&lt;NAME&gt;不能具有類型&lt;type&gt;

Published Real48 property &lt;name&gt; must be Single, Double or Extended

Published REAL屬性&lt;NAME&gt;必須為Single, Double或Extended

Re-raising an exception only allowed in exception handler

在意外進行中隻允許重新引起意外處理

Read error on &lt;Filename&gt;

檔案&lt;FILENAME&gt;讀出錯

Record, object or class type required

需要記錄,對象或類類型

Redeclaration of &lt;name&gt; hides a member in the base class

&lt;NAME&gt;的重新說明隐藏了基類中一個元素

Redeclaration of property not allowed in OLE automation section

在OLE自動區段中不允許屬性重複說明

Return value of function &lt;Functionname&gt; might be undefined

函數&lt;Functionname&gt;的傳回值可能沒有定義

Seek error on &lt;Filename&gt;

在&lt;FILENAME&gt;中搜尋錯誤

Segment/Offset pairs not supported in Borland 32-bit Pascal

在Borland 32位的PASCAL中不支援Segment/Offset對

Sets may have at most 256 elements

集至少有256個元素

Size of published set &lt;name&gt; is &gt;32 bits

published集&lt;NAME&gt;的大小大于32位元組

Slice standard function only allowed as open array argument

Slice标準函數隻允許作為打開數組參數

Statement expected, but expression of type &lt;type&gt; found

要求語句,但出現類型&lt;TYPE&gt;的表達式

Statements not allowed in interface part

在界面中不允許的語句

String constant too long

字元串常量太長

String constant truncated to fit STRING[&lt;number&gt;]

字元串常量截取到适合STRING[&lt;number&gt;]

Strings may have at most 255 elements

字元串至少255個元素

Structure field identifier expected

要求結構域辨別符

Syntax error in real number

實數文法錯誤

System unit out of date or corrupted: missing &lt;name&gt;

系統單元超出日期或損壞:缺少&lt;NAME&gt;

Text after final END.

編譯器忽略END.後的文本

This form of method call only allowed for class methods

該方法的窗體隻允許類方法

This form of method call only allowed in methods of derived types

該方法的窗體隻允許在導出類型的方法中

This type cannot be initialized

這一類型不能初始化

Thread local variables cannot be ABSOLUTE

線程局部變量不能是ABSOLUTE

Thread local variables cannot be local to a function or procedure

線程局部變量對函數不能是局部的

Too many actual parameters

太多的實際參數

Too many conditional symbols

太多的條件符号

Type &lt;name&gt; has no type info

類型&lt;NAME&gt;沒有類型資訊

Type &lt;Name&gt; is not yet completely defined

類型&lt;NAME&gt;至今沒有定義

Type &lt;name&gt; must be a class to have a PUBLISHED section

類型&lt;NAME&gt;必須是在PUBLISHED區段中的類

Type &lt;name&gt; must be a class to have OLE automation

類型&lt;NAME&gt;必須是具有OLE自動的類

Type &lt;name&gt; needs finalization - not allowed in file type

類型&lt;NAME&gt;需要初始化-不允許在檔案類型中

Type &lt;name&gt; needs finalization - not allowed in variant record

類型&lt;NAME&gt;需要初始化-不允許在變體記錄

Type expected

要求TYPE

Type not allowed in OLE Automation call

在OLE自動調用中不允許的類型

Type of expression must be BOOLEAN

表達式的類型必須為BOOLEAN型

Type of expression must be INTEGER

表達式的類型必須為INTEGER型

TYPEINFO standard function expects a type identifier

TYPEINFO标準函數要求類型辨別符

TYPEOF can only be applied to object types with a VMT

TYPEOF隻能用于具有VMT的對象類型

Types of actual and formal var parameters must be identical

形參與實參必須一緻

Undeclared identifier: &lt;name&gt;

未說明的辨別符&lt;NAME&gt;

Unexpected end of file in comment started on line &lt;Number&gt;

以行&lt;Number&gt;開始的注釋中出現不應有的檔案結束

Unit &lt;Unit1&gt; was compiled with a different version of &lt;Unit2&gt;

單元&lt;UNIT1&gt;與不同版本的&lt;UNIT2&gt;編譯

Unit name mismatch: &lt;Unitname&gt;

單元名不比對&lt;UNITNAME&gt;

Unknown directive: &lt;Directive&gt;

未知的指令&lt;DIRECTIVE&gt;

Unnamed arguments must precede named arguments in OLE Automation call

在OLE自動調用中未命名的參數必須在命名的參數前

Unsatisfied forward or external declaration: &lt;Procedurename&gt;

不滿足的向前或外部說明&lt;Procedurename&gt;

Unterminated string

未結束的字元串

Value assigned to &lt;Name&gt; never used

賦給&lt;NAME&gt;的值從未使用過

Variable &lt;name&gt; inaccessible here due to optimization

由于優化,變量名&lt;NAME&gt;在這裡不能存取

Variable &lt;name&gt; is declared but never used in &lt;name&gt;

變量名&lt;NAME&gt;已說明,但不曾使用

Variable &lt;Name&gt; might not have been initialized

變量名&lt;NAME&gt;可能沒有初始化

Variable required

需要變量

Virtual constructors are not allowed

不允許虛拟的constructors方法

Write error on &lt;Filename&gt;

檔案&lt;Filename&gt;寫錯誤

Wrong or corrupted version of RLINK32.DLL

RLINK32.DLL版本錯誤或不能用

繼續閱讀