To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62183
                  Issue #:|62183
                  Summary:|prevent ambiguity of base interfaces
                Component:|sdk
                  Version:|680m156
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|ENHANCEMENT
                 Priority:|P3
             Subcomponent:|usability
              Assigned to:|jsc
              Reported by:|jsc





------- Additional comments from [EMAIL PROTECTED] Fri Feb 17 00:31:03 -0800 
2006 -------
With the new feature of mutliple inheritance of interfaces we can have the
situation that inherited base interfaces are not ambiguous in C++ becasue of the
fact that we can't use virtual inheritance. An approapriate solution to prevent
this ambiguity of base interfaces is to re-declare the ambiguous interfaces at
the point where they can be solved first.
Example

class A { virtual void mA }
class B: public A 
class C: public A
class D: public B, public C { virtual void mA } -> re-declaration of the
ambiguous method mA at 
interface D
class E: public D
class F: public E, public B {virtual void mA } -> again re-declaration of method
mA to prevent ambiguity 

The cppumaker is extended to check such ambiguities and if necessary re-declare
the relevant methods.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to