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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1892 Actions


    Problem Report Number 1892
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0953
    Raised 1999-12-14 08:00
    Updated 2003-03-13 08:00
    Published 2000-01-04 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSX5 version 5.1.5
    Test Identification MSE.hdr/misc/wchar 12, 13, 14
    Linked Problem Reports TSD5.020, (in, old, system)
    Problem Summary TSD5.022 tset/MSE.hdr/misc/wchar/T.wchar 12 Failed tset/MSE.hdr/misc/wchar/T.wchar 13 Failed tset/MSE.hdr/misc/wchar/T.wchar 14 Failed The Single UNIX Specification, Version 2 description of va_list, defined i...
    Problem Text

    tset/MSE.hdr/misc/wchar/T.wchar 12 Failed
    tset/MSE.hdr/misc/wchar/T.wchar 13 Failed
    tset/MSE.hdr/misc/wchar/T.wchar 14 Failed

    The Single UNIX Specification, Version 2 description of va_list,
    defined in stdargs.h, says

    "The type va_list is defined for variables used to traverse the list".

    The above description does not mention the type of va_list. The
    test suite assumes that va_list is declared as a pointer variable and
    assigns a value of '0' to it. But in our implementation the va_list
    is declared as a structure, hence the initialization fails.
    This is a problem with the test suite.

    Test Output


    ************************************************************************
    /tset/MSE.hdr/misc/wchar/T.wchar 12 Failed

    Test Description:
    When the header file <wchar.h> is included, then the
    function
    prototype int vfwprintf(FILE *, const wchar_t *, va_list)
    is declared.

    Test Strategy:
    UNDEFINE macro version of vfwprintf()
    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=500
    Compiler or run-time messages or results:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^
    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:
    cc: Error: cc12es.c, line 23: In the initializer for
    arg3"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg3 = 0;
    -------------------------^


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


    ************************************************************************
    /tset/MSE.hdr/misc/wchar/T.wchar 13 Failed

    Test Description:
    When the header file <wchar.h> is included, then the
    function
    prototype int vwprintf(const wchar_t *, va_list) is
    declared.

    Test Strategy:
    UNDEFINE macro version of vwprintf()
    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=500
    Compiler or run-time messages or results:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^
    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:
    cc: Error: cc13es.c, line 25: In the initializer for
    arg4"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg4 = 0;
    -------------------------^


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


    ************************************************************************
    /tset/MSE.hdr/misc/wchar/T.wchar 14 Failed

    Test Description:
    When the header file <wchar.h> is included, then the
    function
    prototype int vswprintf(wchar_t, size_t, const wchar_t *,
    va_list) is
    declared.

    Test Strategy:
    UNDEFINE macro version of vswprintf()
    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=500
    Compiler or run-time messages or results:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^
    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:
    cc: Error: cc14es.c, line 22: In the initializer for
    arg2"0" is of type
    "int", and cannot be converted to "struct
    declared without a
    tag". (noconvert)
    va_list arg2 = 0;
    -------------------------^


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

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a fault in the test suite.

    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