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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0122 Actions


    Problem Report Number 0122
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0122
    Raised 1993-11-17 08:00
    Updated 2003-03-13 08:00
    Published 1993-11-26 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.4
    Test Identification XPG4.hdr/misc/iconv 4
    Problem Summary TSD4.122 According to the X/Open CAE Specification - System Interfaces and Headers, Issue 4(X/Open Document Number:C202), the iconv function has the following prototype : size_t iconv(iconv_t, const char **, s...
    Problem Text
    According to the X/Open CAE Specification - System Interfaces and
    Headers, Issue 4(X/Open Document Number:C202), the iconv function has
    the following prototype :

    size_t iconv(iconv_t, const char **, size_t *, char **, size_t *);

    whereas the VSX test suite checks for the prototype as :

    size_t iconv(iconv_t, char **, size_t *, char **, size_t *);

    i.e, There is a conflict between the document and the test suite with
    respect to the second argument.
    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:
    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
    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:

    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
    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:
    "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
    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
    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
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted to be a test suite deficiency.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed test suite deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority