|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1935 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1935.
Report 1935 Actions
Problem Report Number 1935 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0571 Raised 2003-02-21 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSX4 version 4.5.3 Test Identification POSIX.hdr/misc/signal 39 Linked Problem Reports TIN5.002, (in, old, system) Problem Summary PG5R.014 TIN5.002 grants a waiver for signal.h making symbols from time.h visible in the namespace. This is the same case although different output occurs. Problem Text
TIN5.002 grants a waiver for signal.h making symbols from time.h
visible in the namespace. This is the same case although different
output occurs.Test Output
************************************************************************
********************
/tset/POSIX.hdr/misc/signal/T.signal 39 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:
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_SOURCE
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1 -D_POSIX_SO
URCE
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2 -D_POSIX_SO
URCE
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309 -D_POS
IX_SOURCE
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506 -D_POS
IX_SOURCE
Compiler or run-time messages or results:
"/usr/include/iso/time_iso.h", line 70: syntax error before or at: "tm_s
ec unprotected"
"/usr/include/iso/time_iso.h", line 70: warning: syntax requires ";" aft
er last
struct/union member
"/usr/include/iso/time_iso.h", line 79: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 39: syntax error before or at: "tv_
sec unprotected"
"/usr/include/sys/time_impl.h", line 39: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 41: zero-sized struct/union
"/usr/include/sys/time_impl.h", line 78: syntax error before or at: "it_
interval
unprotected"
"/usr/include/sys/time_impl.h", line 78: warning: syntax requires ";" af
ter last
struct/union member
"/usr/include/sys/time_impl.h", line 80: zero-sized struct/union
"././ALLOW.h", line 96: cannot recover from previous errors
c89: acomp failed for cc39es.c
************************************************************************
********************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
Although the compiler output is slightly different, it is clear
that the test is failing for the same reason as in TIN5.002.
I.e. there are structure members from the <time.h> namespace being
made visible by the system's <signal.h> header and they are clashing
with the tm_sec, tv_sec and it_interval macros previously defined by
the test suite.
Thus this failure is already covered by TIN5.002 and there is no need
to issue another TIN.
It is recommended that this request is refused.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1935
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority