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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0313 Actions


    Problem Report Number 0313
    Submitter's Classification Specification problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0029
    Raised 1994-05-17 08:00
    Updated 2003-03-13 08:00
    Published 1994-05-31 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.4
    Test Identification XPG4.hdr/misc/iconv 4
    Specification System Interfaces and Headers Issue 4
    Location in Spec See Problem Text
    Linked Problem Reports TSD4.122, (in, old, system)
    Problem Summary PIN4.029 Error is caused by the following declaration which can be find at line 121 in the L.iconv module: size_t iconv(iconv_t, char **, size_t *, char **, size_t *); According to "X/Open System Interfaces an...
    Problem Text
    Error is caused by the following declaration which can be find at line
    121 in the L.iconv module:

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

    According to "X/Open System Interfaces and Headers, Issue 4" at page 206,
    it should be:

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

    That is, the second argument is "const char **" and not "char **".

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

    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:
    extern size_t iconv(iconv_t, char **, size_t *, char **, size_t
    *);
    ........^
    %CC-E-NOTCOMPAT, In this declaration, the type of iconv is not
    compatible with t
    he types of previous declarations of iconv.
    at line number 43 in file
    _$3$DKB200:[VSX433$CONT.006AD103$BFS]00D27B0D$BFS.;1
    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:
    extern size_t iconv(iconv_t, char **, size_t *, char **, size_t
    *);
    ........^
    %CC-E-NOTCOMPAT, In this declaration, the type of iconv is not
    compatible with t
    he types of previous declarations of iconv.
    at line number 43 in file
    _$3$DKB200:[VSX433$CONT.006AD103$BFS]00D27B0D$BFS.;1
    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:
    extern size_t iconv(iconv_t, char **, size_t *, char **, size_t
    *);
    ........^
    %CC-E-NOTCOMPAT, In this declaration, the type of iconv is not
    compatible with t
    he types of previous declarations of iconv.
    at line number 43 in file
    _$3$DKB200:[VSX433$CONT.006AD103$BFS]00D27B0D$BFS.;1
    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:
    extern size_t iconv(iconv_t, char **, size_t *, char **, size_t
    *);
    ........^
    %CC-E-NOTCOMPAT, In this declaration, the type of iconv is not
    compatible with t
    he types of previous declarations of iconv.
    at line number 43 in file
    _$3$DKB200:[VSX433$CONT.006AD103$BFS]00D27B0D$BFS.;1
    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:
    extern size_t iconv(iconv_t, char **, size_t *, char **, size_t
    *);
    ........^
    %CC-E-NOTCOMPAT, In this declaration, the type of iconv is not
    compatible with t
    he types of previous declarations of iconv.
    at line number 43 in file
    _$3$DKB200:[VSX433$CONT.006AD103$BFS]00D27B0D$BFS.;1
    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:
    extern size_t iconv(iconv_t, char **, size_t *, char **, size_t
    *);
    ........^
    %CC-E-NOTCOMPAT, In this declaration, the type of iconv is not
    compatible with t
    he types of previous declarations of iconv.
    at line number 43 in file
    _$3$DKB200:[VSX433$CONT.006AD103$BFS]00D27B0D$BFS.;1
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The problem in this case arises from the different declarations of the
    iconv() function found on pages 206 and 555 of the XSH4 specification.
    The test suite uses the declaration specified on page 555 whereas the
    implementation uses the declaration from page 206. It is recommended
    that a permanent interpretation be granted since the implementation
    uses one of the declarations used in the XSH.

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

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority