Skip to main content

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

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

XL C/C++ for Linux

Compiler


Software version:
12.1


Reference #:
LI77143


Modified date:
2012-12-17

Translate my page

Content navigation