IBM Support

PH14784: COMPILER FAILS TO COMPILE WITH CCN5274 ERROR MESSAGE.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Compiler fails to compile the source that uses std::sort with
    TEMPINC compiler option while defining  __USE_STL_TEMPINC__
    macro.
    

Local fix

  • Remove __USE_STL_TEMPINC__ macro or compile with -Wc,NOTEMPINC
    compiler option.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Usage of std::sort with TEMPINC compiler     *
    *                 option and defining  __USE_STL_TEMPINC__     *
    *                 macro.                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Compiler issues the following error     *
    *                      preventing successful compile: CCN5274  *
    *                      (S) The name lookup for "_SortNew" did  *
    *                      not find a declaration.                 *
    ****************************************************************
    * RECOMMENDATION: The recommended method for handling template *
    *                 instantiations is to use the                 *
    *                 TEMPLATEREGISTRY compiler option instead of  *
    *                 the TEMPINC compiler option.                 *
    ****************************************************************
    Compiler fails to compile the source that uses std::sort with
    TEMPINC compiler option while defining  __USE_STL_TEMPINC__
    macro.
    

Problem conclusion

  • The missing declaration for "__SortNew" template function was
    added to "algorithm" system header when TEMPINC compiler option
    is used together with __USE_STL_TEMPINC__ macro.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH14784

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    7B0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-07-22

  • Closed date

    2019-07-23

  • Last modified date

    2019-09-01

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

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

Modules/Macros

  • CCNECICS CCNECWI  CCNED230 CCNEDSCT CCNEDWRT CCNEFILT CCNEHIFC
    CCNEIPA3 CCNEIPAO CCNEMDEP CCNEOPTP CCNEP    CCNEPP   CCNETBY
    CCNMSGE  CCNMSGT  CCNQIPA
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R7B0 PSY UI64374

       UP19/08/23 P F908

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7B0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSQKCWV","label":"IBM C\/C++ for MVS\/ESA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7B0","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
15 August 2024