[omniORB] Port of omniORB_280pre1 to Compaq C++ 6.2 OpenVMS Alpha 7.1

Doug Anderson doug@clark.net
Tue, 6 Jul 1999 20:16:08 -0400


Hi All,
I got the same warnings with Compaq (DEC) cxx 6.1-029 on Tru 64 (Digital) Unix
4.0e.  FYI, so it's not just the 6.2 compiler, but the 6.1 version as well.  Thanks for
reporting this before me!  :)  BTW,we used to run omniORB with cxx5.6 about a year
ago, so some of this work may have been done, though you'll need to translate it to
OpenVMS.  You may have to change the cxx version settings within the platforms file
for your configuration.
Doug

----- Original Message ----- 
From: Bruce Visscher <visschb@rjrt.com>
To: omniORB mailing list <omniorb-list@uk.research.att.com>
Sent: Tuesday, July 06, 1999 5:28 PM
Subject: [omniORB] Port of omniORB_280pre1 to Compaq C++ 6.2 OpenVMS Alpha 7.1


> Hello omniORBers,
> 
> I have just completed building omniORB_280pre1 with Compaq C++ 6.2
> (formerly DEC C++) on OpenVMS Alpha 7.1.
> 
> When I tried to compile src/lib/omniORB2/dynamic/bootstrapDynSK.cc, I
> got:
> 
>   _0RL_buildDesc_cstring(_newdesc,
> (*((_CORBA_Unbounded_Sequence__String*)_desc-
> >opq_seq))[_index]);
> ...................................^
> %CXX-W-REFTEMPORARY, initial value of reference to non-const must be an
>           lvalue
> at line number 36 in file
> OMNIROOT:[OMNIORB_280PRE1.SRC.LIB.OMNIORB2.DYNAMIC]BOOTSTRAPDYNSK.CC;1
> 
> I believe the compiler is correct, so I've included a patch.
> 
> After applying this patch (and some modifications to the makefiles that
> I'll publish in a seperate post) I was able to build the entire tree
> with no additional problems.  eg1 and eg3 (using a 2.7.0 omniNames
> server) work.
> 
> Good job!
> 
> BTW, is the testsuite that used to reside in
> src/tests/omniORB2_testsuite no longer supported?  If so then we should
> remove this from the VMS distribution.
> 
> Unfortunately, it looks like porting 280pre1 to DEC C++ 5.6 is going to
> take some work.
> 
> Bruce Visscher
>