[omniORB] Bug in inheritance across namespaces.

Sai-Lai Lo S.Lo@uk.research.att.com
23 Apr 1999 12:25:45 +0100


Frank,

The bug with MSVC++ has been around for so long that I think it ought to have
been fixed by Microsoft. Perhaps you can help by reporting this bug to
Microsoft instead of asking omniidl2 to generate workaround code.

We've put in considerable effort to workaround bugs in MSVC++ to the extend
that some part of the source code starts looking rather ugly and
incomprehensible. I sometimes can't remember why some apparently rather
convoluted code was written.

Back to the inheritance namespace bug, we have put the fix Dietmar May has
suggested for the special case he mentioned. It is an ugly workaround I do
not want to be used for a general case.

What I could do better is to document this bug and suggest workaround on
our web page. If you can write me a concise summary of what is the IDL and
what workaround should be put into the  stub manually, I would put it on
our web page to make the info more accessible.

Sai-Lai



>>>>> Frank Lynch writes:

> I'm having a hellish time with inheritance across namespaces using
> Microsoft Visual C++ 5 and 6.
> Clients are crashing in the generated code (fooSK.cc) with a stack
> overflow.

> I think this is the same problem that Dietmar May outlined a "patch" for
> in his mail to this list on June 29 1998. with the subject line [omniORB]
> MSVC 6.0 bug with inheritance across namespaces (modules).

> I have not been sucessfull in my attempt to apply this patch. Is there any
> reason why this patch was not included in omniORB 2.7.1

> Can someone please help me - with a workaround or some help in applying
> the patch.


-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 223 343000
Cambridge CB2 1QA                     Fax:   +44 223 313542
ENGLAND