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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1890 Actions


    Problem Report Number 1890
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0951
    Raised 1999-12-02 08:00
    Updated 2003-03-13 08:00
    Published 1999-12-08 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.4.3
    Test Identification ANSI.hdr/misc/stdio_X 33
    Problem Summary TSD5.020 tset/ANSI.hdr/misc/stdio_X Test No:33 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"....
    Problem Text

    tset/ANSI.hdr/misc/stdio_X Test No:33

    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

    Test-Set Name: /tset/ANSI.hdr/misc/stdio_X/T.stdio_X
    ----------------------------------------------------


    ************************************************************************
    /tset/ANSI.hdr/misc/stdio_X/T.stdio_X 33 Failed

    Test Description:
    When the header <stdio.h> is included, then the function prototype int
    vsnprintf(char *, size_t, const char *, va_list) is declared.
    This test is not executed in XPG3 and XPG4 test modes.

    Test Strategy:
    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: cc33es.c, line 23: 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: cc33es.c, line 23: 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: cc33es.c, line 23: 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: cc33es.c, line 23: 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: cc33es.c, line 23: 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: cc33es.c, line 23: 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: cc33es.c, line 23: 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: cc33es.c, line 23: 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: cc33es.c, line 23: 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: cc33es.c, line 23: 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;
    -------------------------^


    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