[omniORB] Ambiguous inheritance error

Gary D. Duzan gdd0@gte.com
Tue, 23 Feb 1999 14:37:02 -0500


In Message <36D2FF1E.25C712EF@tumbleweed.com> ,
   rshoup@tumbleweed.com (Randy Shoup) wrote:

=>"Gary D. Duzan" wrote:
=>> 
=>>    I don't believe that will work. Unless I'm mistaken, you'll end up
=>> with multiple instances of omniObject and CORBA::Object from
=>> Test::_sk_A (via A_i), Test::_sk_B (via B_i), and Test::_sk_C.  It
=>> might actually compile, but it won't register properly with the BOA.
=>
=>The solution I give below does work in practice.  It is what we have
=>been doing for months :-).

   My mistake. It has been so long since I looked at virtual
inheritance that I was thinking that a non-virtual inheritance always
caused a duplication. The ARM says otherwise, though (e.g.  Section
10.5c), so I retract my earlier statement and will take your word that
it works.

					Gary Duzan
					GTE Laboratories