Bug Report no. 52

attlogo6876_dk.gif (2280 bytes)

sideHome.gif (2321 bytes) sideDownload.gif (2450 bytes) sideDocumentation.gif (2512 bytes) sideFAQ.gif (2344 bytes) sidePatch.gif (2543 bytes) sideSearch.gif (2403 bytes)

Reported By

Ken Hausam

Date

15 April 1999

Platforms

All

Version

omniORB 2.7.1 and earlier

Description

The code generated for the TIE implementation part of the stubs is incorrect when diamond shaped multiple inheritance is used. The operations defined in the common base class are multiply declared.

For example:

  // IDL

  interface base {
    void an_op();
  };

  interface foo1 : base {
  };

  interface foo2 : base {
  };

  interface bar : foo1, foo2 {
  };

In this example the operation an_op() is declared twice in the template _tie_bar.

Patch

Apply this patch.

The patch changes src/tool/omniidl2/omniORB2_be/o2be_interface.cc

 

For comments, feedback, etc, please see the 'Keeping in touch' page.
Copyright 1999 - AT&T Laboratories Cambridge