Problem Report Number |
0034 |
Submitter's Classification |
Specification problem |
State |
Resolved |
Resolution |
Rejected (REJ) |
Problem Resolution ID |
REJ.PX.0017 |
Raised |
2006-10-14 02:57 |
Updated |
2006-10-23 21:10 |
Published |
2006-10-23 21:10 |
Product Standard |
PSE52 Realtime Controller 1003.1-2003 System |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSX4-PSE version 4.6.6 |
Test Identification |
POSIX.hdr/misc/stat/T.stat.35 |
Specification |
PSE52 Realtime Controller 1003.1-2003 System Product Standard |
Location in Spec |
IEEE Std 1003.1-2001 XBD6 section 2.1.5.1 Subprofiling Considerations |
Problem Summary |
_POSIX_AEP_REALTIME_CONTROLLER, _POSIX_AEP_REALTIME_LANG_C99 and
_POSIX_26_VERSION symbols are considered illegal by IEEE Std 1003.1-
2001 |
Problem Text |
IEEE Std 1003.13-2003 requires that the following symbols be defined
for the PSE52 profile:
- _POSIX_AEP_REALTIME_CONTROLLER
- _POSIX_AEP_REALTIME_LANG_C99
- _POSIX_26_VERSION
However these symbols are considered illegal by IEEE Std 1003.1-2001
because the start with _POSIX and are not described in the POSIX.1
standard.
|
Test Output |
***********************************************************************
/tset/POSIX.hdr/misc/stat/T.stat 35 Failed
Test Description:
For POSIX90 and FIPS modes:
When _POSIX_SOURCE is defined and no other feature test
macros are
defined, no other symbols than those defined or reserved by
POSIX.1-1990 are made visible.
For POSIX96 mode:
When _POSIX_C_SOURCE is defined with the value 199506L and
no
other feature test macros except _POSIX_SOURCE are
defined, no
other symbols than those defined or reserved by POSIX.1-
1996 are
made visible.
For POSIX01 mode:
When _POSIX_C_SOURCE is defined with the value 200112L and
no
other feature test macros except _POSIX_SOURCE are
defined, no
other symbols than those defined or reserved by POSIX.1-
2001/XSH6
(not including the XSI option) are made visible.
For XPG4 mode:
When _XOPEN_SOURCE is defined and no other feature test
macros
except _POSIX_SOURCE, _POSIX_C_SOURCE=1 or
_POSIX_C_SOURCE=2 are
defined, no other symbols than those defined or reserved
by XPG4
are made visible.
For UNIX98 mode:
When _XOPEN_SOURCE is defined with the value 500 and no
other
feature test macros except _POSIX_SOURCE or
_POSIX_C_SOURCE<=199506L are defined, no other symbols
than those
defined or reserved by XSH5 are made visible.
For UNIX03 mode:
When _XOPEN_SOURCE is defined with the value 600 and no
other
feature test macros except _POSIX_C_SOURCE<=200112L are
defined,
no other symbols than those defined or reserved by POSIX.1-
2001/XSH6 (including the XSI option) are made visible.
Posix Ref: Component C Language Definitions Assertion 2.7.2-05
(B)
Test Strategy:
FOR each unreserved struct/union member made visible by the
header
DEFINE a macro which will cause an error if not protected
from
expansion
UNDEFINE those macros which correspond to allowed member names
INCLUDE a copy of the header file modified to identify #defines
FOR each unreserved symbol made visible by the header
VERIFY that the symbol name is in a list of allowed names
Test Information:
Illegal #defined symbol: _POSIX_AEP_REALTIME_CONTROLLER
Illegal #defined symbol: _POSIX_AEP_REALTIME_LANG_C99
Illegal #defined symbol: _POSIX_26_VERSION
Feature test macros: -D_POSIX_C_SOURCE=200112
Compiler or run-time messages or results:
<NIL> (no results or messages produced)
Illegal #defined symbol: _POSIX_AEP_REALTIME_CONTROLLER
Illegal #defined symbol: _POSIX_AEP_REALTIME_LANG_C99
Illegal #defined symbol: _POSIX_26_VERSION
Feature test macros: -D_POSIX_C_SOURCE=200112 -D_POSIX_SOURCE
Compiler or run-time messages or results:
<NIL> (no results or messages produced)
|