HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1658 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1658.


Report 1658 Actions


    Problem Report Number 1658
    Submitter's Classification Specification problem
    State Resolved
    Resolution Temporary Interpretation (TIN)
    Problem Resolution ID TIN.X.0073
    Raised 2000-12-19 08:00
    Updated 2003-03-13 08:00
    Published 2001-01-08 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.1.1
    Test Identification CAPI.hdr/misc/time 4
    Specification System Interfaces and Headers Issue 5
    Location in Spec See Problem Text
    Linked Problem Reports TIN4U.00001, (in, old, system)
    Problem Summary TIN4U.00005 Symbols defined in signal.h may be visible in the namespace when time.h is included, pending a POSIX interpretation.
    Problem Text
    As stated in TIN4U.00001:

    "(time.h, POSIX should allow symbols defined in
    signal.h to be visible in the namespace when time.h is included).

    Although the synopsis for timer_create() (POSIX.1-1996, P312, L138-141)
    shows that <signal.h> must be included before <time.h> to pick up the
    definition of struct sigevent, there are lots of synopses in
    POSIX.1-1996 that just specify <time.h>. When an application using
    routines defined in <time.h> that don't also require <signal.h> (e.g.
    clock_gettime()) is built, most compilers generate warnings about a
    dubious tag declaration for struct sigevent. This is because the
    specification for <time.h> does not require (or even allow) struct
    sigevent (and the union sigval needed to define its
    sigev_notify_function element) to be defined and does not reserve
    namespace to define elements of struct sigevent and union sigval when
    <time.h> is included. Even though these are warnings, not errors, our
    customers complain when they use standard functions from standard
    headers and don't get "clean compiles".

    In other places where this problem could occur, the C Standard and
    POSIX standards usually reserve the namespace or require that the
    needed elements be in both headers. Examples of these are:

    1. The description of <stdio.h> in the C Standard (ISO/IEC 9899-1990),
    P124, Section 7.9.1, 2nd and 3rd paragraphs requires that <stdio.h>
    define size_t and NULL in <stdio.h> as well as in <stddef.h>.

    2. The description of <mqueue.h> in POSIX.1-1996, P319, L2-4 says that
    including <mqueue.h> may essentially include <sys/types.h>,
    <fcntl.h>, <time.h>, and <signal.h> and L13-16 requires that struct
    sigevent be defined in <mqueue.h> as well as in <signal.h>."
    Test Output
    ************************************************************************
    /tset/CAPI.hdr/misc/time/T.time 4 Failed

    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/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.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/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.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/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.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_SOURCE
    Compiler or run-time messages or results:
    "/usr/include/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.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/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.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_SOURCE
    Compiler or run-time messages or results:
    "/usr/include/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.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/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.c
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
    -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    "/usr/include/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.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/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.c
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
    -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    "/usr/include/time.h", line 99: syntax error before or at: "sival_int
    unprotected"
    "/usr/include/time.h", line 99: warning: syntax requires ";" after last
    struct/union member
    "/usr/include/time.h", line 101: zero-sized struct/union
    "/usr/include/time.h", line 107: syntax error before or at:
    "sigev_notify unprotected"
    "/usr/include/time.h", line 107: warning: syntax requires ";" after
    last struct/union member
    "/usr/include/time.h", line 113: zero-sized struct/union
    "././ALLOW.h", line 95: cannot recover from previous errors
    c89: acomp failed for cc04es.c

    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This failure is already covered by TIN4U.00001. However, since the
    new test output differs somewhat from the output for VSU5.0.4 as shown
    in TIN4U.00001, it is recommended that a new TIN is issued.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Temporary Interpretation (TIN)
    Review Conclusion
    A Temporary Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority