Problem Report 0006 Details

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

This page provides all information on Problem Report 0006.


Report 0006 Actions


    Problem Report Number 0006
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.PX.0005
    Raised 2004-03-24 09:56
    Updated 2004-03-26 14:32
    Published 2004-03-26 14:32
    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 tset/ANSI.hdr/misc/stdio_2/T.stdio_2 43, 44, 45
    Problem Summary Several of the stdio tests use va_list without include <stdarg.h>
    Problem Text Three of the stdio header tests use va_list without including
    <stdarg.h>. In POSIX01 mode, this causes failures since <stdio.h>
    does not define va_list unless XOPEN_SOURCE is defined.
    Test Output
    **********************************************************************
    /tset/ANSI.hdr/misc/stdio_2/T.stdio_2 43 Failed

    Test Description:
    The header file contains a prototype declaration for vfscanf().
    Note: This test is only executed in POSIX01 and UNIX03 modes.

    Test Strategy:
    UNDEFINE macro version of interface
    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.
    VERIFY a prototype exists.
    SUPPLY a correct prototype.

    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:
    "cc43es.c", line 24: error #20: identifier "va_list" is undefined
    va_list ap;
    ^
    "cc43es.c", line 26: error #20: identifier "va_list" is undefined
    int (*func)(FILE *restrict, const char *restrict,
    va_list);
    ^
    "cc43es.c", line 42: error #20: identifier "va_list" is undefined
    extern int vfscanf(FILE *restrict ,const char *restrict ,
    va_list arg);

    ^
    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:
    "cc43es.c", line 24: error #20: identifier "va_list" is undefined
    va_list ap;
    ^
    "cc43es.c", line 26: error #20: identifier "va_list" is undefined
    int (*func)(FILE *restrict, const char *restrict,
    va_list);
    ^
    "cc43es.c", line 42: error #20: identifier "va_list" is
    undefined
    extern int vfscanf(FILE *restrict ,const char
    *restrict ,
    va_list arg);

    ^


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


    **********************************************************************
    /tset/ANSI.hdr/misc/stdio_2/T.stdio_2 44 Failed

    Test Description:
    The header file contains a prototype declaration for vscanf().
    Note: This test is only executed in POSIX01 and UNIX03 modes.

    Test Strategy:
    UNDEFINE macro version of interface
    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.
    VERIFY a prototype exists.
    SUPPLY a correct prototype.

    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:
    "cc44es.c", line 23: error #20: identifier "va_list" is
    undefined
    va_list ap;
    ^
    "cc44es.c", line 25: error #20: identifier "va_list" is
    undefined
    int (*func)(const char *restrict, va_list);
    ^
    "cc44es.c", line 41: error #20: identifier "va_list" is
    undefined
    extern int vscanf(const char *restrict, va_list arg);
    ^
    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:
    "cc44es.c", line 23: error #20: identifier "va_list" is
    undefined
    va_list ap;
    ^
    "cc44es.c", line 25: error #20: identifier "va_list" is
    undefined int (*func)(const char *restrict, va_list);
    ^
    "cc44es.c", line 41: error #20: identifier "va_list" is
    undefined
    extern int vscanf(const char *restrict, va_list arg);
    ^


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


    ***********************************************************************
    /tset/ANSI.hdr/misc/stdio_2/T.stdio_2 45 Failed

    Test Description:
    The header file contains a prototype declaration for vsscanf().
    Note: This test is only executed in POSIX01 and UNIX03 modes.

    Test Strategy:
    UNDEFINE macro version of interface
    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.
    VERIFY a prototype exists.
    SUPPLY a correct prototype.

    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:
    "cc45es.c", line 23: error #20: identifier "va_list" is undefined
    va_list ap;
    ^
    "cc45es.c", line 25: error #20: identifier "va_list" is undefined
    int (*func)(const char *restrict, const char *restrict,
    va_list
    arg);
    ^
    "cc45es.c", line 42: error #20: identifier "va_list" is undefined
    va_list arg);
    ^
    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:
    "cc45es.c", line 23: error #20: identifier "va_list" is undefined
    va_list ap;
    ^
    "cc45es.c", line 25: error #20: identifier "va_list" is undefined
    int (*func)(const char *restrict, const char *restrict,
    va_list
    arg);
    ^
    "cc45es.c", line 42: error #20: identifier "va_list" is undefined
    va_list arg);
    ^

    Review Information

    Review Type TSMA Review
    Start Date 2004-03-24 09:56
    Last Updated 2004-03-24 18:06
    Completed 2004-03-24 18:06
    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-24 18:06
    Last Updated 2004-03-25 01:55
    Completed 2004-03-25 01:55
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This PR represents an agreed fault in the test suite.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority