IBM Support

LI75708: PRAGMA MAP CAUSES UNEXPECTED INFORMATIONAL MESSAGE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Compiling the following codes:
    
    int stat (char __file, int __buf) _Pragma("map(stat,
    \"stat64\")");
    int stat64 (char __file, char __buf);
    
    causes unexpected informational message:
    
    ... 1506-377 (I) The type "int" of parameter 2 differs from the
    previous type "char"...
    

Local fix

  • Use -qsuppress=1506-377
    

Problem summary

  • USERS AFFECTED:
    Users or pragma map who map a symbol to another with different
    type.
    
    PROBLEM DESCRIPTION:
    Compiler issues some info messages when symbols being mapped
    with pragma map do not have the same type.
    

Problem conclusion

  • C++ does not check that the types are compatible with pragma
    map because it is the user's responsiblity to map a symbol to
    one with the same type. However, because this diagnostic may
    still be useful for some users, C will do type checking for
    pragma map only under -qinfo=gen.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75708

  • Reported component name

    XL C/C++ AE BG/

  • Reported component ID

    5799HJH00

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-09-13

  • Closed date

    2010-09-13

  • Last modified date

    2010-09-13

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

    LI74675

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

Fix information

  • Fixed component name

    XL C/C++ AE BG/

  • Fixed component ID

    5799HJH00

Applicable component levels



Document information

More support for: XL C/C++
Compiler

Software version: 9.0

Reference #: LI75708

Modified date: 13 September 2010


Translate this page: