IBM Support

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

    LI75974

  • Reported component name

    XL C/C++ RHEL5

  • Reported component ID

    5724S7310

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-23

  • Closed date

    2011-02-23

  • Last modified date

    2011-02-23

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

  • Fixed component ID

    5724S7310

Applicable component levels



Document information

More support for: XL C/C++

Software version: 9.0

Reference #: LI75974

Modified date: 23 February 2011


Translate this page: