[omniORB] Problems compiling in Visual C++ 4.2 - THE SOLUTION

Juan Manuel Rodriguez JUANMA@sag.es
Tue, 29 Dec 1998 10:07:45 +0100


Hello again.
The problem is Visual C++ 4.2. With 5.0 version it's all OK.=20
---------------------------------------------------------------------------=
------------------------


The previous message was:

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.