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

📄 impldef1.gml

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 GML
字号:
.pp
.ix 'implementation-defined behavior'
This appendix describes the behavior of &wcboth. when the standard
describes the behavior as
.us implementation-defined.
The term describing each behavior is taken directly from the ISO/ANSI
C Language standard.
The numbers in parentheses at the end of each term refers to the
section of the standard that discusses the behavior.
.*
.section Translation
.*
.bigterms
.bigterm
.ix diagnostic
How a diagnostic is identified (5.1.1.3).
.bigdesc
.pp
A diagnostic message appears as:
.cillust begin
filename:HP0.(:eHP0.line-number:HP0.)::eHP0.
error-type:HP0.!:eHP0.
msg-number:HP0.::eHP0.
msg_text
.cillust end
.pp
where:
..if &e'&dohelp eq 1 ..in 0
:ZDL termhi=1 tsize='1.0i' break.
:ZDT.filename
:ZDD.
is the name of the source file where the error was detected.
If the error was found in a file included from the source
file specified on the compiler command line, then the name of
the included file will appear.
:ZDT.line-number
:ZDD.is the source line number in the named file where the
error was detected.
:ZDT.error-type
:ZDD.is either the word
.mono Error
for errors that prevent the compile from completing successfully
(no code will be generated), or
.mono Warning
for conditions detected by the compiler that may
not do what the programmer expected, but
are otherwise valid. Warnings will not prevent the compiler from
generating code. The issuance of warnings may be controlled by a
command-line switch. See the &userguide. for details.
:ZDT.msg-number
:ZDD.
is the letter
.mono E
(for errors) followed by a four digit error number,
or the letter
.mono W
(for warnings)
followed by a three digit warning number.
Each message has its own unique message number.
:ZDT msg-text
:ZDD.
is a descriptive message indicating the problem.
:ZeDL.
.pp
Example:
.code begin
test.c(35): Warning! W301: No prototype found for 'GetItem'
test.c(57): Error! E1009: Expecting '}' but found ','
.code end
.endbigterms
.*
.section Environment
.*
.bigterms
.bigterm
The semantics of the arguments to main (5.1.2.2.1).
.bigdesc
.pp
Each blank-separated token, except within quoted strings,
on the command line is made into a string that is an element of
.ix argv
.ix 'parameter' 'to main' 'argv'
.mono argv.
Quoted strings are maintained as one element.
.pp
For example, for the command line,
.millust pgm 2+ 1 tokens "one token"
.ix argc
.ix 'parameter' 'to main' 'argc'
.mono argc
would have the value
.mono 5
..ct ,
and the five elements of
.mono argv
would be,
.millust begin
pgm
2+
1
tokens
one token
.millust end
.bigterm
What constitutes an interactive device (5.1.2.3).
.bigdesc
For &wcboth., the keyboard and the video display are considered
interactive devices.
.endbigterms
.*
..if &e'&dohelp eq 0 ..do begin
.section Identifiers
..do end
..el .do begin
.section Behaviour Concerning Identifiers
..do end
.*
.bigterms
.bigterm
The number of significant initial characters (beyond 31) in an
identifier without external linkage (6.1.2).
.bigdesc
.pp
Unlimited.
.keep begin
.bigterm
The number of significant initial characters (beyond 6) in an
identifier with external linkage (6.1.2).
.bigdesc
.pp
The &wcboth. compilers do not impose a limit.
The &lnkname. limits significant characters to 40.
.keep end
.bigterm
Whether case distinctions are significant in an identifier
with external linkage (6.1.2).
.bigdesc
.pp
The &wcboth. compilers produce object names in mixed case.
The &lnkname. provides an option to respect or ignore case when
resolving linkages.
By default, the linker respects case. See the &linkref. for details.
.endbigterms
.*
.section Characters
.*
.bigterms
.bigterm
The members of the source and execution character sets,
except as explicitly specified in the standard (5.2.1).
.bigdesc
.pp
The full IBM PC character set is available in both the
.ix 'character set' source
source and
.ix 'character set' execution
execution character sets. The set of values between 0x20 and 0x7F
are the
.ix 'character set' ASCII
ASCII character set.
.bigterm
The shift states used for the encoding of multibyte characters (5.2.1.2).
.bigdesc
There are no shift states in the support for multibyte characters.
.bigterm
The number of bits in a character in the execution character set (5.2.4.2.1).
.bigdesc
.pp
8
.bigterm
The mapping of members of the source character set (in character
constants and string literals) to members of the execution
character set (6.1.3.4).
.bigdesc
.pp
Both the source and execution character sets are the full IBM PC
character set for whichever code page is in effect.
In addition, the following table shows escape sequences available
in the source character set, and what they translate to in the
execution character set.
.ix 'escape sequences'
.ix 'non-graphic characters' 'escape sequences'
..sk 1 c
.if &e'&nobox eq 0 .do begin
.boxdef
..if '&format' eq '7x9' ..th ..do begin
.  .boxcol 7
.  .boxcol 5
.  .boxcol 17
..do end
..el ..do begin
.  .boxcol 8
.  .boxcol 6
.  .boxcol 20
..do end
.boxbeg
汦scape  汬ex
汼equence沄alue汳eaning
.boxline
.monoon
沑a

⌨️ 快捷键说明

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