IBM Support

LI76813: Overload template function address causing error

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The problem appears when the address of an overload template
    function is used to instantiate a template parameter, since the
    compiler is too restrictive during argument deduction with
    pointer to overloaded functions. The problem is exposed with the
    error displayed at the compile time:
    1540-0218 (S) The call does not match any parameter list for
    "<function name>"
    
    where <function name> is a name of affected function.
    

Local fix

  • Avoid the use of the overloaded function.
    

Problem summary

  • The compiler is too restrictive during argument deduction with
    ptr to overloaded functions
    

Problem conclusion

  • Compiler now does more work to match the correct candidate when
    it can be found.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76813

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5724X1400

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-05-24

  • Closed date

    2012-05-24

  • Last modified date

    2012-06-12

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

    LI76622

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5724X1400

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B10","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
17 October 2021