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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0363 Actions


    Problem Report Number 0363
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0004
    Raised 1992-09-30 08:00
    Updated 2003-03-13 08:00
    Published 1992-10-06 08:00
    Expiry Date 1993-10-06
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.3
    Test Identification XOPEN.hdr/misc/regexp 4
    Problem Summary MSF4.004 These failures are relating to an agreed interpretation of the XPG which is covered by permanent waiver TSD4.011. This waiver request has been raised in response to reply req.4.2.035.
    Problem Text
    These failures are relating to an agreed interpretation of the XPG which is
    covered by permanent waiver TSD4.011.

    This waiver request has been raised in response to reply req.4.2.035.
    Test Output
    ************************************************************************
    /tset/XOPEN.hdr/misc/regexp/T.regexp 4 Failed

    Test Description:
    The header file contains a declaration or prototype (if required) for
    compile(). A prototype is not required in XPG3 test mode.

    Test Strategy:
    UNDEFINE macro version of interface.
    COMPARE return value against item of the same type.
    ASSIGN return value to an item of the same type.
    USE return value as an array reference.
    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
    Compiler or run-time messages or results:
    "/usr/include/regexp.h", line 252: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 262: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 271: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 310: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 321: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 325: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 334: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 348: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 364: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 388: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 400: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 405: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 411: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 433: warning: C0074-out of scope extern
    and prior uses redeclared as static: __getrnge
    "/usr/include/regexp.h", line 441: warning: C0074-out of scope extern
    and prior uses redeclared as static: __ecmp
    "cc04es.c", line 51: warning: C0420-assignment type mismatch
    "cc04es.c", line 59: C0070-identifier redeclared: compile
    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:
    "/usr/include/regexp.h", line 252: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 262: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 271: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 310: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 321: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 325: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 334: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 348: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 364: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 388: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 400: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 405: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 411: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 433: warning: C0074-out of scope extern
    and prior uses redeclared as static: __getrnge
    "/usr/include/regexp.h", line 441: warning: C0074-out of scope extern
    and prior uses redeclared as static: __ecmp
    "cc04es.c", line 51: warning: C0420-assignment type mismatch
    "cc04es.c", line 59: C0070-identifier redeclared: compile
    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:
    "/usr/include/regexp.h", line 252: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 262: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 271: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 310: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 321: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 325: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 334: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 348: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 364: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 388: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 400: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 405: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 411: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 433: warning: C0074-out of scope extern
    and prior uses redeclared as static: __getrnge
    "/usr/include/regexp.h", line 441: warning: C0074-out of scope extern
    and prior uses redeclared as static: __ecmp
    "cc04es.c", line 51: warning: C0420-assignment type mismatch
    "cc04es.c", line 59: C0070-identifier redeclared: compile
    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:
    "/usr/include/regexp.h", line 252: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 262: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 271: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 310: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 321: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 325: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 334: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 348: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 364: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 388: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 400: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 405: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 411: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 433: warning: C0074-out of scope extern
    and prior uses redeclared as static: __getrnge
    "/usr/include/regexp.h", line 441: warning: C0074-out of scope extern
    and prior uses redeclared as static: __ecmp
    "cc04es.c", line 51: warning: C0420-assignment type mismatch
    "cc04es.c", line 59: C0070-identifier redeclared: compile
    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:
    "/usr/include/regexp.h", line 252: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 262: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 271: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 310: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 321: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 325: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 334: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 348: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 364: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 388: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 400: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 405: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 411: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 433: warning: C0074-out of scope extern
    and prior uses redeclared as static: __getrnge
    "/usr/include/regexp.h", line 441: warning: C0074-out of scope extern
    and prior uses redeclared as static: __ecmp
    "cc04es.c", line 51: warning: C0420-assignment type mismatch
    "cc04es.c", line 59: C0070-identifier redeclared: compile
    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:
    "/usr/include/regexp.h", line 252: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 262: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 271: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 310: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 321: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 325: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 334: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 348: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 364: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 388: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 400: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 405: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 411: warning: C0420-assignment type
    mismatch
    "/usr/include/regexp.h", line 433: warning: C0074-out of scope extern
    and prior uses redeclared as static: __getrnge
    "/usr/include/regexp.h", line 441: warning: C0074-out of scope extern
    and prior uses redeclared as static: __ecmp
    "cc04es.c", line 51: warning: C0420-assignment type mismatch
    "cc04es.c", line 59: C0070-identifier redeclared: compile
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This failure does not seem to relate to TSD4.011 which tests that there
    is no name-space pollution from the <regexp.h> header file. This test is
    designed to verify that the prototype for the compile() function matches
    that specified in the XPG 4. It seems that this is not the case for this
    implementation; the fault probably relates to the failure to define endbuf
    as a const char *.

    The declaration of the compile() function without a prototype form is unlikely
    to cause problems in application code and the changes necessary to accomodate
    this will be straightforward. Since the regexp functions are marked as "To
    be withdrawn", it is not recommended for use in newly written applications
    and most current applications will not be expecting a function prototype
    declaration for compile().

    It is recommended that a waiver be granted for a minor system fault.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion
    A Temporary Waiver is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority