[omniORB] omniORB2 with Borland C++ Builder app => Compilation Errors!!!

David Morgenlender dmorgen@alum.mit.edu
Fri, 17 Apr 1998 19:09:17 GMT


Sai-Lai,

>The overloaded operator bug is quite fatal. It may be possible to
>workaround the problem by not defining the operators for enum and switch=
 to
>some explicit marshalling functions. This is tedious and involving =
manually
>editing the stub code. I would not suggest you doing that unless you =
have
>no choice.=20
>
>It may be worth looking at other orbs to see if they are hit by the same
>problem.=20

I've submitted bug reports to Borland for this bug, as well as the =
earlier bug I
encountered when building a slightly earlier version of omniORB2.  I just
received the following response from Borland re the first bug ("lvalue =
required"
when assigning to an enum):

>Thank you for submitting your bug report.  It has been confirmed that =
this=20
>is not a bug.  The syntax is invalid if #pragma option -b- is on.=20
>The code will compile fine is enums are allocated as ints (-b).

I haven't gotten a chance to do anything with this.  First off, I'll have=
 to
look up the #pragma to see why this would make sense.  I won't get a =
chance to
do anything with this today.  But I thought you might be interested!

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
Dave Morgenlender
e-mail: dmorgen@alum.mit.edu
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D