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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0452 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 0452.


Report 0452 Actions


    Problem Report Number 0452
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0071
    Raised 1994-06-10 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.2
    Test Identification XPG4.hdr/misc/iconv 4
    Problem Summary PG4R.072 The XPG4 interface definition for iconv() is not consistent with the prototype definition of the interface in the iconv.h. The XPG4 System Headers and Interfaces, Issue 4 on page 206 which is the man ...
    Problem Text


    The XPG4 interface definition for iconv() is not consistent
    with the prototype definition of the interface in the iconv.h.

    The XPG4 System Headers and Interfaces, Issue 4 on page 206
    which is the man page for iconv has the following definition
    of the interface as the synopsis:

    size_t iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft,
    char **outbuf, size_t *outbytesleft);

    The man page for iconv.h on page 555 defines the interface:

    size_t iconv(iconv_t cd, char **inbuf, size_t *inbytesleft,
    char **outbuf, size_t *outbytesleft);

    The interfaces differ in that the argument **inbuf is first
    defined a "const char" and second as "char".

    The VSX test suite tests for the iconv.h version of the defined
    interface. A waiver should be granted in that VSX cannot correctly
    test for a defintion which has inconsistent iconv() defintions.
    This implementation believes that the prototype definition in the
    interface definition is the correct.


    Test Output

    ************************************************************************
    /tset/XPG4.hdr/misc/iconv/T.iconv 4 Failed

    Test Description:
    The header file contains a prototype form function declaration for
    iconv().

    Test Strategy:
    UNDEFINE macro version of iconv()
    COMPARE return value against item of the same type.
    USE return value as an array reference.
    ASSIGN return value to an item of the same type.
    ASSIGN address of function to item of the same type.
    IF prototype testing is required
    VERIFY a prototype exists
    SUPPLY a correct prototype

    Test Information:
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE
    Compiler or run-time messages or results:
    "cc04es.c", line 28: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 31: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 33: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 35: warning: assignment type mismatch
    "cc04es.c", line 43: identifier redeclared: iconv
    cc: acomp failed for cc04es.c
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    "cc04es.c", line 28: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 31: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 33: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 35: warning: assignment type mismatch
    "cc04es.c", line 43: identifier redeclared: iconv
    cc: acomp failed for cc04es.c
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    "cc04es.c", line 28: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 31: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 33: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 35: warning: assignment type mismatch
    "cc04es.c", line 43: identifier redeclared: iconv
    cc: acomp failed for cc04es.c
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    "cc04es.c", line 28: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 31: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 33: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 35: warning: assignment type mismatch
    "cc04es.c", line 43: identifier redeclared: iconv
    cc: acomp failed for cc04es.c
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=1
    Compiler or run-time messages or results:
    "cc04es.c", line 28: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 31: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 33: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 35: warning: assignment type mismatch
    "cc04es.c", line 43: identifier redeclared: iconv
    cc: acomp failed for cc04es.c
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_XOPEN_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2
    Compiler or run-time messages or results:
    "cc04es.c", line 28: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 31: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 33: warning: argument is incompatible with prototype:
    arg #2
    "cc04es.c", line 35: warning: assignment type mismatch
    "cc04es.c", line 43: identifier redeclared: iconv
    cc: 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
    Permanent interpretation PIN4.029 has recently been granted for this
    problem in the XSH4 specification.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused, please refer to PIN4.029.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority