IBM Support

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

    LI76897

  • Reported component name

    XL C/C++ SLES10

  • Reported component ID

    5724U8300

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

  • Fixed component ID

    5724U8300

Applicable component levels



Document information

More support for: XL C/C++

Software version: A.1

Reference #: LI76897

Modified date: 16 July 2012


Translate this page: