.
Last update: 1997-05-20
9945-2-1
Class: Editorial defect
_____________________________________________________________________________
Topic: Symbolic limit macros
Relevant Sections: 2.13
Defect Report:
-----------------------
In Section B.2 - C Numerical Limits, the standard states:
The following subclauses list the names of macros
that C language applications can use to obtain
minimum and current values for limits defined in
2.13.1.
[Draft 12 of ISO/IEC 9945-2:1993 (July 1992), p. 759, lines
93-94]
Then in Section B.2.3 - Execution-Time Symbolic Constants
for Portability Specifications, Table B-5 lists C language
macros with names strikingly similar to POSIX.2 optional
facility configuration parameters, defined in Section
2.13.2. Table B-5 misses the configuration parameter
{POSIX2_C_BIND}.
Is the intent of the standard that all the variables in
Section 2.13.2 as well as Section 2.13.1 have corresponding
variables in the C binding, since seven of these variables
are listed in Table B-5?
WG15 response for 9945-2:1993
-----------------------------------
As the Standard does not list _POSIX2_C_BIND among the symbols in the
table in Table B-5, a conforming implementation is not required to support
this symbol in the manner described by Section B.2.3. This should not be
construed to prohibit conforming implementations from supporting
_POSIX2_C_BIND in the manner described, as an extension. Concerns about
this are being referred to the Sponsor.
Rationale for Interpretation:
-----------------------------
In Section B.2, the intent of the standard is made clear, that the
symbols from Section 2.13.1 are to be listed here as well. It appears
that the exclusion of this one symbol is an editing defect in the
standard.
_____________________________________________________________________________