⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cerrs.gml

📁 Open Watcom 的 C 编译器源代码
💻 GML
📖 第 1 页 / 共 5 页
字号:
else in the program.
:MSGSYM. ERR_INVALID_STG_CLASS_FOR_PARM_PROTO
:MSGTXT. Invalid storage class for parameter
:MSGJTXT. 僷儔儊乕僞偵懳偟偰晄揔愗側婰壇僋儔僗偱偡
.np
The only storage class allowed for a parameter is
.kw register.
:MSGSYM. ERR_EMPTY_INITIALIZER_LIST
:MSGTXT. Initializer list cannot be empty
:MSGJTXT. 弶婜壔儕僗僩偼嬻偱偁傞偙偲偑偱偒傑偣傫
.np
An initializer list must have at least one item specified.
:MSGSYM. ERR_INCOMPLETE_EXPR_TYPE
:MSGTXT. Expression has incomplete type
:MSGJTXT. 幃偺宆偑晄姰慡偱偡
.np
An attempt has been made to access a struct or union whose definition is
not known, or an array whose dimensions are not known.
:MSGSYM. ERR_STRUCT_OR_UNION_INSIDE_ITSELF
:MSGTXT. Struct or union cannot contain itself
:MSGJTXT. Struct偁傞偄偼union偑偦傟帺恎傪娷傓偙偲偼偱偒傑偣傫
.np
You cannot have a
.kw struct
or
.kw union
contain itself.
You can have a pointer in the
.kw struct
which points to an instance of itself.
Check for a missing "*" in the declaration.
:MSGSYM. ERR_INCOMPLETE_ENUM_DECL
:MSGTXT. Incomplete enum declaration
:MSGJTXT. 晄姰慡側enum愰尵偱偡
.np
The enumeration tag has not been previously defined.
:MSGSYM. ERR_ID_LIST_SHOULD_BE_EMPTY
:MSGTXT. An id list not allowed except for function definition
:MSGJTXT. 娭悢掕媊傪彍偄偰丆ID儕僗僩偼嫋偝傟傑偣傫
.np
A function prototype must contain type information.
:MSGSYM. ERR_MUST_BE_VAR_PARM_FUNC
:MSGTXT. Must use 'va_start' macro inside function with variable parameters
:MSGJTXT. 'va_start'儅僋儘偼壜曄僷儔儊乕僞傪傕偮娭悢偺撪懁偱巊梡偟側偗傟偽側傝傑偣傫
.np
The
.id va_start
macro is used to setup access to the parameters in a function
that takes a variable number of parameters.
A function is defined with a variable number of parameters by declaring
the last parameter in the function as "...".
:MSGSYM. ERR_FATAL_ERROR
:MSGTXT. ***FATAL*** %s
:MSGJTXT. ***抳柦揑*** %s
.np
A fatal error has been detected during code generation time.
The type of error is displayed in the message.
:MSGSYM. ERR_BACK_END_ERROR
:MSGTXT. Internal compiler error %d
:MSGJTXT. 僐儞僷僀儔撪晹僄儔乕%d
.np
A bug has been encountered in the C compiler.
Please report the specified internal compiler error number and any other
helpful details about the program being compiled to compiler developers
so that we can fix the problem.
:MSGSYM. ERR_BAD_PARM_REGISTER
:MSGTXT. Parameter number %d - invalid register in #pragma
:MSGJTXT. 僷儔儊乕僞斣崋 %d - #pragma偺拞偺晄揔愗側儗僕僗僞
.np
The designated registers cannot hold the value for the parameter.
:MSGSYM. ERR_BAD_RETURN_REGISTER
:MSGTXT. Procedure '%s' has invalid return register in #pragma
:MSGJTXT. 僾儘僔乕僕儍'%s'偼#pragma偺拞偱晄揔愗側儕僞乕儞丒儗僕僗僞傪帩偭偰偄傑偡
.np
The size of the return register does not match the size of the result
returned by the function.
:MSGSYM. ERR_BAD_SAVE
:MSGTXT. Illegal register modified by '%s' #pragma
:MSGJTXT. 堘朄側儗僕僗僞偑'%s'#pragma偵傛偭偰廋惓偝傟傑偟偨
.np
.us For the 16-bit C compiler:
The BP, CS, DS, and SS registers cannot be modified in small data models.
The BP, CS, and SS registers cannot be modified in large data models.
.np
.us For the 32-bit C compiler:
The EBP, CS, DS, ES, and SS registers cannot be modified in flat
memory models.
The EBP, CS, DS, and SS registers cannot be modified in small data
models.
The EBP, CS, and SS registers cannot be modified in large data models.
:MSGSYM. ERR_NO_EXTERNAL_DEFNS_FOUND
:MSGTXT. File must contain at least one external definition
:MSGJTXT. 僼傽僀儖偼彮偔偲傕1偮偺奜晹掕媊傪娷傑側偗傟偽側傝傑偣傫
.np
Every file must contain at least one global object, (either a data variable
or a function).
This message is only issued in strict ANSI mode (-za).
:MSGSYM. ERR_OUT_OF_MACRO_MEMORY
:MSGTXT. Out of macro space
:MSGJTXT. 儅僋儘嬻娫偑晄懌偱偡
.np
The compiler ran out of memory for storing macro definitions.
:MSGSYM. ERR_BREAK_KEY_HIT
:MSGTXT. Keyboard interrupt detected
:MSGJTXT. 僉乕儃乕僪妱傝崬傒偑専弌偝傟傑偟偨
.np
The compile has been aborted with Ctrl/C or Ctrl/Break.
:MSGSYM. ERR_INV_DATA_TYPE_FOR_REGISTER
:MSGTXT. Array, struct or union cannot be placed in a register
:MSGJTXT. 攝楍丆struct丆偁傞偄偼union傪儗僕僗僞偵抲偔偙偲偼偱偒傑偣傫
.np
Only scalar objects can be specified with the
.kw register
class.
:MSGSYM. ERR_TYPE_REQUIRED_IN_PARM_LIST
:MSGTXT. Type required in parameter list
:MSGJTXT. 宆偑僷儔儊乕僞丒儕僗僩偺拞偵昁梫偱偡
.np
If the first parameter in a function definition or prototype is defined
with a type, then all of the parameters must have a type specified.
:MSGSYM. ERR_ENUM_CONSTANT_TOO_LARGE
:MSGTXT. Enum constant too large
:MSGJTXT. Enum掕悢偑戝偒偡偓傑偡
.np
All of the constants must fit in either an
.kw int
or
.kw unsigned.
:MSGSYM. ERR_TYPE_DOES_NOT_AGREE
:MSGTXT. Type does not agree with previous definition of '%s'
:MSGJTXT. 宆偑'%s'偺慜偺掕媊偲堦抳偟傑偣傫
.np
You have more than one definition of a variable or function that do not
agree.
:MSGSYM. ERR_DUPLICATE_FIELD_NAME
:MSGTXT. Duplicate name '%s' not allowed in struct or union
:MSGJTXT. struct偁傞偄偼union偺拞偱丆摨偠柤慜'%s'傪擇搙巊偆偙偲偼偱偒傑偣傫
.np
All the field names in a
.kw struct
or
.kw union
must be unique.
:MSGSYM. ERR_DUPLICATE_MACRO_PARM
:MSGTXT. Duplicate macro parameter '%s'
:MSGJTXT. 儅僋儘丒僷儔儊乕僞'%s'偺掕媊偑擇搙峴傢傟偰偄傑偡
.np
The parameters specified in a macro definition must be unique.
:MSGSYM. ERR_UNABLE_TO_OPEN_WORK_FILE
:MSGTXT. Unable to open work file: error code = %d
:MSGJTXT. 儚乕僋丒僼傽僀儖傪僆乕僾儞偡傞偙偲偑偱偒傑偣傫丗僄儔乕僐乕僪 = %d
.np
The compiler tries to open a new work file by the name "__wrkN__.tmp" where
N is the digit 0 to 9.
This message will be issued if all of those files already exist.
:MSGSYM. ERR_WORK_FILE_WRITE_ERROR
:MSGTXT. Write error on work file: error code = %d
:MSGJTXT. 儚乕僋丒僼傽僀儖偺彂崬傒僄儔乕丗僄儔乕僐乕僪 = %d
.np
An error was encountered trying to write information to the work file.
The disk could be full.
:MSGSYM. ERR_WORK_FILE_READ_ERROR
:MSGTXT. Read error on work file: error code = %d
:MSGJTXT. 儚乕僋丒僼傽僀儖偺撉庢傝僄儔乕丗僄儔乕僐乕僪 = %d
.np
An error was encountered trying to read information from the work file.
:MSGSYM. ERR_WORK_FILE_SEEK_ERROR
:MSGTXT. Seek error on work file: error code = %d
:MSGJTXT. 儚乕僋丒僼傽僀儖偺僔乕僋丒僄儔乕丗僄儔乕僐乕僪 = %d
.np
An error was encountered trying to seek to a position in the work file.
:MSGSYM. ERR_UNUSED_3
:MSGTXT. not used
:MSGJTXT. 偙偺儊僢僙乕僕偼巊梡偝傟傑偣傫
unused message
:MSGSYM. ERR_OUT_OF_ENUM_MEMORY
:MSGTXT. Out of enum space
:MSGJTXT. enum嬻娫偑晄懌偱偡
.np
The compiler has run out of space allocated to store information on all
of the
.kw enum
constants defined in your program.
:MSGSYM. ERR_FILENAME_REQUIRED
:MSGTXT. Filename required on command line
:MSGJTXT. 僐儅儞僪丒儔僀儞忋偵僼傽僀儖柤偑昁梫偱偡
.np
The name of a file to be compiled must be specified on the command line.
:MSGSYM. ERR_CAN_ONLY_COMPILE_ONE_FILE
:MSGTXT. Command line contains more than one file to compile
:MSGJTXT. 僐儅儞僪丒儔僀儞偵僐儞僷僀儖偡傞僼傽僀儖偑2偮埲忋巜掕偝傟偰偄傑偡
.np
You have more than one file name specified on the command line to be
compiled.
The compiler can only compile one file at a time.
You can use the &wclname. utility to compile multiple files with a
single command.
:MSGSYM. ERR_MISPLACED_LEAVE
:MSGTXT. _leave must appear in a _try statement
:MSGJTXT. _leave偼_try暥偺拞偵側偗傟偽側傝傑偣傫
.np
The
.kw _leave
keyword must be inside a
.kw _try
statement.
The
.kw _leave
keyword causes the program to jump to the start of the
.kw _finally
block.
:MSGSYM. ERR_EXPECTING_END_OF_LINE_BUT_FOUND
:MSGTXT. Expecting end of line but found '%s'
:MSGJTXT. 峴枛偱偁傞偼偢偱偡偑丆'%s'偑偁傝傑偡
.np
A syntax error has been detected.
The token displayed in the message should help you determine the problem.
:MSGSYM. ERR_TOO_MANY_BYTES_IN_PRAGMA
:MSGTXT. Too many bytes specified in #pragma
:MSGJTXT. #pragma偺拞偱巜掕偝傟偨僶僀僩丒僐乕僪偑懡偡偓傑偡
.np
There is an internal limit on the number of bytes for in-line code
that can be specified with a pragma.
Try splitting the function into two or more smaller functions.
:MSGSYM. ERR_BAD_LINKAGE
:MSGTXT. Cannot resolve linkage conventions for routine '%s' #pragma
:MSGJTXT. 儖乕僠儞'%s'#pragma偵懳偟偰儕儞働乕僕婯栺傪夝寛偱偒傑偣傫
.np
The compiler cannot generate correct code for the specified routine
because of register conflicts.
Change the registers used by the parameters of the pragma.
:MSGSYM. ERR_SYM_MUST_BE_GLOBAL
:MSGTXT. Symbol '%s' in pragma must be global
:MSGJTXT. 僾儔僌儅偺拞偺僔儞儃儖'%s'偼僌儘乕僶儖偱側偗傟偽側傝傑偣傫
.np
The in-line code for a pragma can only reference a global variable or
function.
You can only reference a parameter or local variable by passing it as
a parameter to the in-line code pragma.
:MSGSYM. ERR_INTERNAL_LIMIT_EXCEEDED
:MSGTXT. Internal compiler limit exceeded, break module into smaller pieces
:MSGJTXT. 僐儞僷僀儔偺撪晹惂尷傪墇偊傑偟偨丅儌僕儏乕儖傪傛傝彫偝偄晹暘偵暘妱偟偰偔偩偝偄
.np
The compiler can handle 65535 quadruples, 65535 leaves, and 65535 symbol
table entries and literal strings.
If you exceed one of these limits, the program must be broken into smaller
pieces until it is capable of being processed by the compiler.
:MSGSYM. ERR_INVALID_INITIALIZER
:MSGTXT. Invalid initializer for integer data type
:MSGJTXT. 惍悢僨乕僞宆偵懳偟偰晄揔愗側弶婜壔偱偡
.np
Integer data types (int and long) can be initialized with
numeric expressions or address expressions that are the same size
as the integer data type being initialized.
:MSGSYM. ERR_TOO_MANY_ERRORS
:MSGTXT. Too many errors: compilation aborted
:MSGJTXT. 僄儔乕偑懡偡偓傑偡丗僐儞僷僀儖傪拞巭偟傑偡
.np
The compiler stops compiling when the number of errors generated
exceeds the error limit.
The error limit can be set with the "-e" option.
The default error limit is 20.
:MSGSYM. ERR_EXPECTING_IDENTIFIER_BUT_FOUND
:MSGTXT. Expecting identifier but found '%s'
:MSGJTXT. 幆暿巕偑偁傞偼偢偱偡偑丆'%s'偑偁傝傑偟偨
.np
A syntax error has been detected.
The token displayed in the message should help you determine the problem.
:MSGSYM. ERR_EXPECTING_CONSTANT_BUT_FOUND
:MSGTXT. Expecting constant but found '%s'
:MSGJTXT. 掕悢偑偁傞偼偢偱偡偑丆'%s'偑偁傝傑偟偨
.np
The #line directive must be followed by a constant indicating the
desired line number.
:MSGSYM. ERR_EXPECTING_STRING_BUT_FOUND
:MSGTXT. Expecting \"filename\" but found '%s'
:MSGJTXT. \"僼傽僀儖柤\"偑偁傞偼偢偱偡偑丆'%s'偑偁傝傑偟偨
.np
The second argument of the #line directive must be a filename
enclosed in quotes.
:MSGSYM. ERR_PARM_COUNT_MISMATCH
:MSGTXT. Parameter count does not agree with previous definition
:MSGJTXT. 僷儔儊乕僞悢偑慜偺掕媊偲堦抳偟傑偣傫
.np
You have either not enough parameters or too many parameters in a call
to a function.
If the function is supposed to have a variable number of parameters, then
you are missing the ", ..." in the function prototype.
:MSGSYM. ERR_SEGMENT_NAME_REQUIRED
:MSGTXT. Segment name required
:MSGJTXT. 僙僌儊儞僩柤偑昁梫偱偡
.np
A segment name must be supplied in the form of a literal string
to the __segname() directive.
:MSGSYM. ERR_INVALID_BASED_DECLARATOR
:MSGTXT. Invalid __based declaration
:MSGJTXT. 晄揔愗側__based愰尵偱偡
.np
The compiler could not recognize one of the allowable forms of __based
declarations.
See the
.us C Language Reference
document for description of all the allowable forms of __based declarations.
:MSGSYM. ERR_SYM_MUST_BE_TYPE_SEGMENT
:MSGTXT. Variable for __based declaration must be of type __segment or pointer
:MSGJTXT. __based愰尵偵懳偡傞曄悢偼宆__segment偱側偗傟偽側傝傑偣傫
.np
A based pointer declaration must be based on a simple variable of type
__segment or pointer.
:MSGSYM. ERR_DUPLICATE_ID
:MSGTXT. Duplicate external symbol %s
:MSGJTXT. 奜晹僔儞儃儖%s偑2偮偁傝傑偡
.np
Duplicate external symbols will exist when the specified symbol name is
truncated to 8 characters.
:MSGSYM. ERR_ASSEMBLER_ERROR
:MSGTXT. Assembler error: '%s'
:MSGJTXT. 傾僙儞僽儔丒僄儔乕丗'%s'
.np
An error has been detected by the in-line assembler.
The message indicates the error detected.
:MSGSYM. ERR_VAR_TOO_LARGE
:MSGTXT. Variable must be 'huge'
:MSGJTXT. 曄悢偼'huge'偱側偗傟偽側傝傑偣傫
.np
A variable or an array that requires more than 64K of storage in the 16-bit
compiler must be declared as
.kw huge.
:MSGSYM. ERR_TOO_MANY_PARM_SETS
:MSGTXT. Too many parm sets
:MSGJTXT. parm偺巜掕偑懡偡偓傑偡
.np
Too many parameter register sets have been specified in the pragma.
:MSGSYM. ERR_IO_ERR
:MSGTXT. I/O error reading '%s': %s
:MSGJTXT. '%s'撉傒崬傒拞偺俬乛俷僄儔乕丗%s
.np
An I/O error has been detected by the compiler while reading the source file.
The system dependent reason is also displayed in the message.
:MSGSYM. ERR_NO_SEG_REGS
:MSGTXT. Attempt to access far memory with all segment registers disabled in '%s'
:MSGJTXT. '%s'偺拞偱巊梡嬛巭偵偝傟偨偡傋偰偺僙僌儊儞僩丒儗僕僗僞偱far儊儌儕偵傾僋僙僗偟傛偆偲偟偰偄傑偡
.np
The compiler does not have any segment registers available to access the
desired far memory location.
:MSGSYM. ERR_NO_MACRO_ID_COMMAND_LINE
:MSGTXT. No identifier provided for /D option
:MSGJTXT. /D僆僾僔儑儞偵懳偡傞幆暿巕偑偁傝傑偣傫
.np
The command line option /D must be followed by the name of the macro
to be defined.
:MSGSYM. ERR_BAD_PEG_REG
:MSGTXT. Invalid register pegged to a segment in '%s'
:MSGJTXT. 晄揔愗側儗僕僗僞偑'%s'偺拞偱僙僌儊儞僩偵屌掕偝傟偰偄傑偡
.np
The register specified in a #pragma data_seg, or a
.kw __segname
expression must be a valid s

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -