[omniORB] Port of omniORB_280pre1 to Compaq C++ 6.2 OpenVMS Alpha 7.1
Bruce Visscher
visschb@rjrt.com
Tue, 06 Jul 1999 17:28:48 -0400
This is a multi-part message in MIME format.
--------------1F728B2F0A354F89294FEA3E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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
--------------1F728B2F0A354F89294FEA3E
Content-Type: application/x-unknown-content-type-diff_auto_file;
name="patch_bcv.diff"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="patch_bcv.diff"
ZGlmZiAtYyBpbmNsdWRlL29tbmlPUkIyL3RjRGVzY3JpcHRvci5oIG5ld2luY2x1ZGUvb21u
aU9SQjIvdGNEZXNjcmlwdG9yLmgNCioqKiBpbmNsdWRlL29tbmlPUkIyL3RjRGVzY3JpcHRv
ci5oCVN1biBKdW4gMjAgMTE6NTk6MTYgMTk5OQ0KLS0tIG5ld2luY2x1ZGUvb21uaU9SQjIv
dGNEZXNjcmlwdG9yLmgJVHVlIEp1bCAwNiAxNzowODowNCAxOTk5DQoqKioqKioqKioqKioq
KioNCioqKiAzNDgsMzU0ICoqKioNCiAgLy8vLy8vLy8vLy8vLy8vLy8vLw0KICANCiAgaW5s
aW5lIHZvaWQNCiEgXzBSTF9idWlsZERlc2NfY3N0cmluZyh0Y0Rlc2NyaXB0b3IgJmRlc2Ms
X0NPUkJBX1N0cmluZ19tZW1iZXImIGRhdGEpDQogIHsNCiAgICBkZXNjLnBfc3RyaW5nID0g
JmRhdGEuX3B0cjsNCiAgfQ0KLS0tIDM0OCwzNTQgLS0tLQ0KICAvLy8vLy8vLy8vLy8vLy8v
Ly8vDQogIA0KICBpbmxpbmUgdm9pZA0KISBfMFJMX2J1aWxkRGVzY19jc3RyaW5nKHRjRGVz
Y3JpcHRvciAmZGVzYyxfQ09SQkFfU3RyaW5nX21lbWJlciBjb25zdCYgZGF0YSkNCiAgew0K
ICAgIGRlc2MucF9zdHJpbmcgPSAmZGF0YS5fcHRyOw0KICB9DQo=
--------------1F728B2F0A354F89294FEA3E--