IBM Support

LI77143: AMBIGUOUS REFERENCE IN MULTI INHERITANCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An error message is given from a base class declaration of a
    class:
    
    "test.cpp", line 16.16: 1540-0601 (S) The reference to "MyClass"
    is ambiguous because "MyClass" is declared in base classes
    "MyClass" and "MyClass".
    

Local fix

  • N/A
    

Problem summary

  • PROBLEM DESCRIPTION:
    Name lookup for base classes in the wrong scope for namespace
    or nested class names.
    
    USERS AFFECTED:
    When a class is defined outside it's namespace or outside it's
    enclosing class, the scope used to lookup the base class names
    might be incorrect causing a name lookup error.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77143

  • 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

    2012-12-17

  • Closed date

    2012-12-17

  • Last modified date

    2012-12-17

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

    IV25894

  • 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

[{"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":"12.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021