[omniORB] (no subject)

Michael_H_Born at raytheon.com Michael_H_Born at raytheon.com
Tue Nov 22 14:22:36 GMT 2005


I'm trying to rebuild an executable that was originally done with VC++ 6
and OmniOrb3.
I'm using VC++ 7 (inside of Visual Studio .NET 2003).

If I try to build, I get many errors like the following:

..\..\..\include\omniORB3\Naming.hh(1041) : error C2665: 'operator`>>='' :
none of the 58 overloads can convert parameter 1 from type 'CORBA::ULong'
        ..\..\..\include\omniORB3\corba_operators.h(41): could be
'CORBA::Boolean operator >>=(const CORBA::Any &,CORBA::UNKNOWN *& )'
        ..\..\..\include\omniORB3\corba_operators.h(42): or
'CORBA::Boolean operator >>=(const CORBA::Any &,CORBA::BAD_PARAM *& )'
        ..

I get the same errors if I try to build the examples in OmniOrb3.

So...
I brought in OmniOrb4 and it can compile its examples.

But...
OmniOrb4 has deprecated some items that the code was depending on, namely:
NetBufferedStream, and
MemBufferedStream

I'm guessing I have two options and wonder which of these you would
suggest:
1) Build the binaries for OmniOrb3 using VC++ 7.
2) Go back to VC++ 6 (not on my PC currently or I'd have tried this
already).

Mic Born
Raytheon
(260) 429-6455




More information about the omniORB-list mailing list