IBM Support

LI77343: NON-TYPE TEMPLATE PARAMETER AND ENUM ERROR

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Compiling a complex mixture of templated classes using non-type
    template parameters and enums is causing an invalid name lookup
    error.  Examples of the invalid errors are:
    
    
    1540-0063 (S) The text "MyType" is unexpected.
    1540-1174 (S) The member "template Test(const Ptr &)" is not
    declared as a template in its containing class definition.
    1540-1174 (S) The member "template ~Test()" is not declared as a
    template in its containing class definition.
    

Local fix

  • N/A
    

Problem summary

  • PROBLEM DESCRIPTION:
    Invalid name lookup error on out-of-line definition of a class
    template member.
    
    USERS AFFECTED:
    The problem may be seen when a template class has more than one
    member defined out-of-line.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77343

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

    IV33476

  • 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



Document information

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

Software version: 12.1

Reference #: LI77343

Modified date: 27 April 2013