[omniORB] Error while compiling snapshot 20010823 of omniORB4
Frédéric Bouvier
frbouvi@wanadoo.fr
Thu, 23 Aug 2001 09:03:39 +0200
Hello,
I am trying to compile the last snapshot of omniORB4 on Win2000 and I have
the following compilation problem :
making export in src/lib/omniORB/dynamic...
make[3]: Entering directory
`/cygdrive/c/omniORB/omni/src/lib/omniORB/dynamic'
../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MT -GX -D_WINSTATIC -I
.. -I./.. -I../include -I./../include -DUSE_omniORB_logStream -D_OMNIORB_DY
NAMIC_LIBRARY -D
"NTArchitecture" -I. -I. -I../../../../include -D__WIN32__ -D__x86__ -D__NT
__ -D__OSVERSION__=4 -Fostatic/bootstrapdynstub.o bootstrapdynstub.cc
cl -c -O2 -MT -GX -D_WINSTATIC -I.. -I.\.. -I..\include -I.\..\include -DUSE
_omniORB_logStream -D_OMNIORB_DYNAMIC_LIBRARY -D
NTArchitecture -I. -I. -I..\..\..\..\include -D__WIN32__ -D__x86__ -D__NT__
-D__OSVERSION__=4 -Fostatic\bootstrapdynstub.o -Tpbootstrapdynstub.cc
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
bootstrapdynstub.cc
..\omniORB4/bootstrapDynSK.cc(122) : error C2440: '=' : cannot convert from
'void (__cdecl *)(const struct omni::tcObjrefDesc *,class CORBA::Object *)'
to 'void (__cdecl *)(struct omni::tcObjrefDesc *,class CORBA::Object *)'
This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
make[3]: *** [static/bootstrapdynstub.o] Error 2
make[3]: Leaving directory
`/cygdrive/c/omniORB/omni/src/lib/omniORB/dynamic'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omniORB/omni/src/lib/omniORB'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB/omni/src/lib'
make: *** [export] Error 2
The 2 prototypes differs only by a 'const' on the first parameter.
bootstrapDynSK.cc is built from bootstrap.idl :
making all in src/lib/omniORB...
make[1]: Entering directory `/cygdrive/c/omniORB/omni/src/lib/omniORB'
../../../bin/x86_win32/oidlwrapper.exe -gnuwin32 -bcxx -Wbh=.hh -Wbs=SK.cc -
Wba -p../../../src/lib/omniORB -Wbdebug -ComniORB4
../../../idl/bootstrap.idl
PYTHONPATH=(null)
..\..\..\bin\x86_win32\omniidl -bcxx -Wbh=.hh -Wbs=SK.cc -Wba -p..\..\..\src
\lib\omniORB -Wbdebug -ComniORB4 ..\..\..\idl\bootstrap.idl
Maybe omniidl has problems while generating stubs ?
Any help ?
Cheers,
-Fred