IBM Support

LI75796: THE USE OF UNDEFINED CLASS IS NOT VALID MSG

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • While building Eigen C++ template library, the user gets
    the following error message:
    ./xlC -DEIGEN_DONT_ALIGN -DEIGEN_DONT_VECTORIZE -o test test.cpp
    "Eigen-2.0.11/src/Core/util/ForwardDeclarations.h", line 40.36:
    1540-1109 (S) The use of undefined class
    "Eigen::ei_traits<Eigen::Matrix<double,10000,10000,2,10000,10000
    > >" is not valid.
    "Eigen-2.0.11/src/Core/Matrix.h", line 128.12: 1540-0700 (I) The
    previous message was produced while processing "class
    Eigen::MatrixBase<Eigen::Matrix<double,10000,10000,2,10000,10000
    > >".
    "Eigen-2.0.11/src/Core/Matrix.h", line 127.7: 1540-0700 (I) The
    previous message was produced while processing "class
    Eigen::Matrix<double,10000,10000,2,10000,10000>".
    "test.cpp", line 6.5: 1540-0700 (I) The previous message was
    produced while processing "main()".
    

Local fix

  • N/A
    

Problem summary

  • xlC reports the use of undefined class (a template class) is
    not valid
    

Problem conclusion

  • Use the template's point of instantiation as the reference
    point if we are in template context.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75796

  • 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

    2010-11-24

  • Closed date

    2010-11-24

  • Last modified date

    2010-11-24

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

    IZ73245

  • 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:
15 October 2021