Problem Report 0005 Details

Help Show help | Quick Search | Click here to view your privileges

This page provides all information on Problem Report 0005.


Report 0005 Actions


    Problem Report Number 0005
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.PX.0004
    Raised 2004-03-23 03:34
    Updated 2004-03-23 17:28
    Published 2004-03-23 17:28
    Product Standard 1003.1-2003 System Interfaces
    Certification Program POSIX Certified by IEEE and The Open Group
    Test Suite VSX-PCTS2003 version 1.0
    Test Identification XPG4.hdr/misc/wchar 51
    Linked Problem Reports TSD.PX.0003
    Problem Summary wchar header test assumes that FILE is defined
    Problem Text This is the same problem as PR0004--one of the wchar header tests
    assumes FILE is defined in wchar.h, which is not true in POSIX01 mode.
    Test Output **********************************************************************
    /tset/XPG4.hdr/misc/wchar/T.wchar 51 Failed

    Test Description:
    If the header file contains a macro definition for vfwscanf:
    The macro has a result type int.
    Note: This test is only executed in POSIX01 and UNIX03 modes.

    Test Strategy:
    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.

    Test Information:
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_POSIX_C_SOURCE=200112
    Compiler or run-time messages or results:
    "cc51es.c", line 23: error #20: identifier "FILE" is undefined
    FILE *arg1 = 0;
    ^
    "cc51es.c", line 23: error #20: identifier "arg1" is undefined
    FILE *arg1 = 0;
    ^
    "cc51es.c", line 28: error #757: "FILE" is not a type name
    int (*func)( FILE * restrict , const wchar_t * restrict ,
    va_list);
    ^
    Compilation exited with non-zero value when expected to succeed
    Feature test macros: -D_POSIX_C_SOURCE=200112 -D_POSIX_SOURCE
    Compiler or run-time messages or results:
    "cc51es.c", line 23: error #20: identifier "FILE" is undefined
    FILE *arg1 = 0;
    ^
    "cc51es.c", line 23: error #20: identifier "arg1" is undefined
    FILE *arg1 = 0;
    ^
    "cc51es.c", line 28: error #757: "FILE" is not a type name
    int (*func)( FILE * restrict , const wchar_t * restrict ,
    va_list);
    ^

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

    Review Information

    Review Type TSMA Review
    Start Date 2004-03-23 03:34
    Last Updated 2004-03-23 17:23
    Completed 2004-03-23 17:23
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2004-03-23 17:23
    Last Updated 2004-03-23 17:28
    Completed 2004-03-23 17:28
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority