[omniORB] Problems compiling in Visual C++ 4.2

Juan Manuel Rodriguez JUANMA@sag.es
Mon, 28 Dec 1998 17:52:42 +0100


Hello all (this is my 1st message to this mailing list):
I have an error when I try to compile an ...SK.cpp generated by omniidl2.ex=
e. I am using 2.6.1 version. This problem didn't appear in 2.5 version.
The output of Visual C++ compiler is:

----------------------------------------------------------------------
Compiling...
fileSK.cpp
C:\omniORB_2.6.1\include\omniORB2/CORBA.h(2350) : error C2039: '_CORBA_Unbo=
unded_Sequence<class CORBA::String_member>' : is not a member of 'CORBA'
C:\omniORB_2.6.1\include\omniORB2/CORBA.h(2350) : error C2673: 'CORBA::~COR=
BA' : global functions do not have 'this' pointers
C:\omniORB_2.6.1\include\omniORB2/CORBA.h(2350) : error C2673: 'CORBA::~COR=
BA' : global functions do not have 'this' pointers
C:\omniORB_2.6.1\include\omniORB2/CORBA.h(2350) : fatal error C1903: =
unable to recover from previous error(s); stopping compilation
----------------------------------------------------------------------

Can anyone help me? What can be the cause?

Thanks in advance
Juanma.