IBM Support

IJ08178: MISSING (S) ERROR OUTPUT AFTER (W) WARNING WHEN USING -QSHOWINC AND -QSOURCE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • When compiling with both -qshowinc and -qsource, a (S) severe
    error message is not output.  The (S) message does not appear in
    the console or in the listing file, however the error totals
    section in the listing file enumerates the missing (S) error:
    
    
    TOTAL  UNRECOVERABLE  SEVERE  ERROR  WARNING  INFORMATIONAL
            (U)            (S)     (E)    (W)      (I)
     2       0              1       0      1        0
    
    
    
       === TEST CASE ===
    
    #include "/dev/null"
    
    int myfunc1(void) {
    int rc=0;
    
    if (!rc) {
    rc=1;
    /* Syntax Error - missing closing brace */
    
    return rc;
    }
    
    int myfunc2(void) {
    return 0;
    }
    
    
    $ xlc t.c -qshowinc -qsource
    "/dev/null", line 1: 1506-229 (W) File is empty.
    $
    

Local fix

  • Remove -qshowinc
    

Problem summary

  • PROBLEM DESCRIPTION:
    Syntax error messages at the end of the compilation unit may be
    unreported with -qshowinc -qsource.
    
    USERS AFFECTED:
    XL C compiler users with incorrect source files who use
    compiler listing output.
    

Problem conclusion

  • Syntax error messages at the end of the compilation unit that
    may have been unreported with -qshowinc -qsource are now
    reported.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ08178

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5725C7100

  • Reported release

    D13

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-08-02

  • Closed date

    2018-08-02

  • Last modified date

    2018-08-02

  • APAR is sysrouted FROM one or more of the following:

    IJ05960

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels



Document information

More support for: XL C for AIX
Compiler

Software version: D13

Reference #: IJ08178

Modified date: 02 August 2018