IBM Support

LI77345: TEMPLATE ARGUMENT CANNOT BE CONVERTED ERROR

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Compiler incorrectly issues error at compile time:
    
    mpixlcxx_r -c <source file>
    
    1540-1266 (S) A template argument with type "int" cannot be
    converted to a template parameter with type "some_type".
    

Local fix

  • N/A
    

Problem summary

  • template instantiation creates an int for a enum type causing a
    compiler error
    

Problem conclusion

  • The problem has been resolved
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77345

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-27

  • Closed date

    2013-04-27

  • Last modified date

    2013-04-27

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

    LI77184

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels

  • RC10 PSY

       UP



Document information

More support for: XL C/C++ for Linux
Compiler

Software version: 12.1

Reference #: LI77345

Modified date: 27 April 2013