IBM Support

LI76913: 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

    LI76913

  • Reported component name

    XL C/C++ RHEL52

  • Reported component ID

    5724U8310

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-16

  • Closed date

    2012-07-16

  • Last modified date

    2012-07-16

  • 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++ RHEL52

  • Fixed component ID

    5724U8310

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
16 October 2021