IBM Support

PK00706: UPDATES NEEDED TO FEATURES.H HEADER FILE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Test in the features.h header file incorrectly checks
    for __BFP, when in should be checking for __BFP__
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All z/OS C/C++ IEEE users of the math        *
    *                 library using the IEEE only functions.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: The macro __BFP__ used in the header    *
    *                      features.h is incorrect. It is coded    *
    *                      as __BFP. When a function protected     *
    *                      by the above macro is called by its     *
    *                      external name, it results in the        *
    *                      following compiler error:               *
    *                                                              *
    *                      ERROR CCN3023: Expecting function or    *
    *                      pointer to function.                    *
    *                                                              *
    *                      Feature test macro _FP_MODE_VARIABLE    *
    *                      is also incorrectly coded as            *
    *                      __FP_MODE_VARIABLE and needs to be      *
    *                      corrected. If not, this will result     *
    *                      in the same error as above.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Functions using the __new4105IE macro are affected because it
    checks for the incorrectly coded __BFP__ and _FP_MODE_VARIABLE
    macros. The functions affected are:
    
    acoshf(), acoshl(), asinhf(), asinhl(), cbrtf(), cbrtl(),
    exp2f(), exp2(), exp2l(), expm1f(), expm1l(), hypotf()
    hypotl(), log1pf(), log1pl(), remainderf(), remainderl()
    remquof(), remquo(), remquol(), lgammal()
    
    The problem only occurs if any of the functions are called by
    their external names as given above and when compiled with the
    option float(ieee) or if _FP_MODE_VARIABLE is defined.
    

Problem conclusion

  • The feature test macros _FP_MODE_VARIABLE and __BFP__ are
    modified in the features.h header to use the correct forms.
    
    Keywords:
    features.h __new4105IE __BFP__ __BFP IEEE _FP_MODE_VARIABLE
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK00706

  • Reported component name

    LE C LIBRARY

  • Reported component ID

    568819805

  • Reported release

    708

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2005-02-07

  • Closed date

    2005-04-22

  • Last modified date

    2005-06-02

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

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

    UK02729 UK02730

Modules/Macros

  • EDC4H00D
    

Fix information

  • Fixed component name

    LE C LIBRARY

  • Fixed component ID

    568819805

Applicable component levels

  • R708 PSY UK02729

       UP05/05/03 P F505

  • R709 PSY UK02730

       UP05/05/03 P F505

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":"BU048","label":"IBM Software"},"Product":{"code":"SSCVSBD","label":"Runtime"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"708","Edition":"","Line of Business":{"code":"","label":""}},{"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":"708","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":null,"label":null},"Product":{"code":"SG19O","label":"APARs - MVS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"708","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 June 2005