IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

  • RD13 PSY

       UP

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D13"}]

Document Information

Modified date:
24 August 2021