[omniORB] omniORB 3.0 on WinNT
Poilpret Jean Francois
jfpoilpret@hn.vnn.vn
Mon, 4 Oct 1999 00:35:50 +0700
Rosimildo,
the problem you're talking about is not exactly the one I described. In =
fact, as I told in my previous mail, I already fixed the strange .hh =
generated by omniidl3. As Sai-Lai pointed out, this is a problem of VC++ =
not applying automatic cast of StringBuf to const char* when using =
operator <<.
Sai-Lai showed a correction, I used another one (described in my =
previous mail, which was easier to apply (because located in one place =
only).
Unfortunately, after correcting the problems of omniidl3, there still =
are many problems with building the library.
-----Original Message-----
From: Rosimildo DaSilva <rdasilva@connecttel.com>
To: omniORB <omniorb-list@orl.co.uk>
Date: dimanche 3 octobre 1999 19:54
Subject: Re: [omniORB] omniORB 3.0 on WinNT
>I have tried, but it did NOT work either:
>
>Environment:
> Windows NT 4, SP4, Visual C++ 6.0 ( SP2 applied)
>
>
> Cygwin 20.1, GCC 2.95
>
>I have tried both compilers, and none worked.
>
>Here is the error:
>------------------------------------------------------------------------=
----
>----------------------------------
>making export in src/lib/omniORB2/orbcore...
>make[2]: Entering directory =
`/omni/omni30/omni/src/lib/omniORB2/orbcore'
>../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MT -GX -I. =
-I./.. -I
>./..
>/.. -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -D "NTArchitecture" -D
>"_WINSTATI
>C" -I. -I../../../../include -D__WIN32__ -D__x86__ -D__NT__ =
-D__OSVERSION__
>=3D4 -
>Fotaskqueue.o taskqueue.cc
>cl -c -O2 -MT -GX -I. -I.\.. -I.\..\.. -DUSE_omniORB_logStream =
-D_OMNIORB_LI
>BRAR
>Y -D NTArchitecture -D
>_WINSTATIC -I. -I..\..\..\..\include -D__WIN32__ -D__x86_
>_ -D__NT__ -D__OSVERSION__=3D4 -Fotaskqueue.o -Tptaskqueue.cc
>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for =
80x86
>Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
>taskqueue.cc
>..\..\..\..\include\omniORB3/CORBA.h(978) : warning C4003: not enough =
actual
>par
>ameters for macro 'OMNIORB_DECLARE_USER_EXCEPTION1'
>..\..\..\..\include\omniORB3/CORBA.h(1112) : warning C4003: not enough
>actual pa
>rameters for macro 'OMNIORB_DECLARE_USER_EXCEPTION1'
>..\..\..\..\include\omniORB3/CORBA.h(1223) : warning C4003: not enough
>actual pa
>rameters for macro 'OMNIORB_DECLARE_USER_EXCEPTION1'
>..\..\..\..\include\omniORB3/CORBA.h(1308) : warning C4003: not enough
>actual pa
>rameters for macro 'OMNIORB_DECLARE_USER_EXCEPTION1'
>..\..\..\..\include\omniORB3/corbaidl_defs.hh(8) : error C2059: syntax =
error
>: '
>bad suffix on number'
>..\..\..\..\include\omniORB3/corbaidl_defs.hh(8) : error C2059: syntax =
error
>: '
>constant'
>..\..\..\..\include\omniORB3/corbaidl_defs.hh(9) : error C2059: syntax =
error
>: '
>bad suffix on number'
>..\..\..\..\include\omniORB3/corbaidl_defs.hh(10) : error C2059: syntax
>error :
>'bad suffix on number'
>..\..\..\..\include\omniORB3/corbaidl_defs.hh(11) : error C2059: syntax
>error :
>'bad suffix on number'
>------------------------------------------------------------------------=
----
>---------------------------
>
>[ big snip here ]
>
>
>The interesting thing is the output of corbaidl_defs.hh:
>
>// This file is generated by omniidl3- omniORB_3_0. Do not edit.
>#ifndef __corbaidl_defs_hh__
>#define __corbaidl_defs_hh__
>
>#ifndef __CORBA_mIDLType__
>#define __CORBA_mIDLType__
>
>004E4A60004E4A60004E4A60IDLType004E4A60
>004E4A60004E4A60004E4A60_objref_IDLType004E4A60
>004E4A60004E4A60004E4A60_impl_IDLType004E4A60
>004E4A60004E4A60004E4A60_objref_IDLType004E4A60IDLType_ptr004E4A60
>004E4A60004E4A60004E4A60IDLType_ptr004E4A60IDLType004E4A60004E4A60004E4A=
60
>004E4A60
>004E4A60004E4A60004E4A60IDLType_Helper004E4A60
>004E4A60004E4A60004E4A60
>004E4A60004E4A60004E4A60IDLType_ptr004E4A60004E4A60004E4A60
>004E4A60
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60=
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60=
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60=
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60=
004E
>4A60004E4A60
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60=
004E
>4A60004E4A60
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60=
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60=
004E
>4A60004E4A60
>004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60004E4A60=
>004E4A60
>004E4A60
>004E4A60004E4A60004E4A60004E4A60004E4A60_objref_IDLType004E4A60IDLType_H=
elpe
>r004E4A60IDLType004E4A60004E4A60004E4A60
>004E4A60004E4A60004E4A60_CORBA_ObjRef_OUT_arg<_objref_IDLType,IDLType_He=
lper
>>004E4A60IDLType004E4A60004E4A60004E4A60
>004E4A60
>#endif
>
>[ another big snip here ]
>
>
>This file seems very strange, and both compilers fail to parse this =
file
>properly :)
>
>
>Rosimildo.
>
>
>
>
>
>