IBM Support

PI41717: THE NAME LOOKUP FOR "_VACPP_HASH_FUNCTION_CHECK" DID NOT FIND A DECLARATION ERROR MESSAGE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The users who include xhashtbl and specify -qlanglvl=extended0x
    may encounter error:
    
    "/usr/include/xhashtbl", line 514.50: CCN5274 (S) The name
    lookup for "_VACPP_HASH_FUNCTION_CHECK" did not find a
    declaration.
    "/usr/include/xhashtbl", line 514.50: CCN6226 (I) Declarations
    for non-dependent names are resolved in the template definition.
    "/usr/include/xhashtbl", line 514.50: CCN6227 (I)
    "_VACPP_HASH_FUNCTION_CHECK" does not depend on a template
    argument.
    
    The reason for this error is that the body of debugging
    function _HashFunctionCheck() uses macro
    _VACPP_HASH_FUNCTION_CHECK in a statement and is only called
    when the macro is defined.  However, this function is not
    guarded by #ifdef _VACPP_HASH_FUNCTION_CHECK.  As a result the
    compiler issues the error message:
    
    "_VACPP_HASH_FUNCTION_CHECK" did not find a declaration"
    

Local fix

  • Modify xhashtbl to guard _HashFunctionCheck() with #ifdef
    _VACPP_HASH_FUNCTION_CHECK.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: zOS C/C++ compiler users who include         *
    *                 xhashtbl and specify -qlanglvl=extended0x.   *
    ****************************************************************
    * PROBLEM DESCRIPTION: The body of debugging function          *
    *                      _HashFunctionCheck() uses macro         *
    *                      _VACPP_HASH_FUNCTION_CHECK in a         *
    *                      statement and is only called when the   *
    *                      macro is defined.  However, this        *
    *                      function is not guarded by #ifdef       *
    *                      _VACPP_HASH_FUNCTION_CHECK.  As a       *
    *                      result, error                           *
    *                      '"_VACPP_HASH_FUNCTION_CHECK" did not   *
    *                      find a declaration' occurs when the     *
    *                      macro is not defined.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Apply provided service.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI41717

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    790

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-05-25

  • Closed date

    2015-08-10

  • Last modified date

    2016-09-13

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

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

Modules/Macros

  • CRTHB075 CRTIB075
    

Fix information

  • Fixed component name

    ANSI C++ CLASS

  • Fixed component ID

    568819807

Applicable component levels

  • R790 PSY UI30090

       UP15/08/26 P F508

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":"790","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"790","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
13 September 2016