IBM Support

IV66077: ELIMINATE UNKNOWN PRAGMA __ALLOCA WARNING IN C++ PROGRAM APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If stdlib.h and alloc.h are included in a C++ program,
    the warning
        1540-1401 (I) An unknown "pragma __alloca" is specified.
    is usually displayed.
    

Local fix

Problem summary

  • If stdlib.h and alloc.h are included in a C++ program,
    the warning
        1540-1401 (I) An unknown "pragma __alloca" is specified.
    is usually displayed.
    

Problem conclusion

  • Update the header file to avoid the warning.
    

Temporary fix

Comments

  • 7100-03 - use AIX APAR IV66077
    

APAR Information

  • APAR number

    IV66077

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-10-17

  • Closed date

    2014-10-17

  • Last modified date

    2015-05-22

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

    IV66038

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

    U869610

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U869610

       UP15/05/20 I 1000



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV66077

Modified date: 22 May 2015