[omniORB] Patch for DEC C++ 5.6
Bruce Visscher
visschb@rjrt.com
Tue, 13 Jul 1999 11:54:47 -0400
This is a multi-part message in MIME format.
--------------A26923A3C45A24ED74BBA1AD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
[Sorry for the posts earlier with the long lines. My mail reader was
misconfigurued. I think I have it fixed now...]
Attached is a patch for the DEC C++ 5.6 compiler.
In the interest of conserving bandwidth, I've excluded most of the IDL
generated headers in include/omniORB2.
The main two problems were the pointer to reference compiler bug (it
turns out that the compiler just doesn't understand operator T&*(),
whether or not T is a template argument) and a compiler bug that
prevents the new _var_type from working with structs (this might also be
a problem with unions, I haven't checked).
I thought the difference in footprint was interesting. The following is
the required disk space for the utilities and examples. This does not
include debug versions.
+--------------------------+---------------+----------------+
| OpenVMS Alpha | DEC C++ 5.6 | Compaq C++ 6.2 |
+--------------------------+---------------+----------------+
| omniORB 2.7.1 | 69MB | 20MB |
| omniORB 2.8.0 [pre1] | 470MB | 34MB |
+--------------------------+---------------+----------------+
Note that this is partially my fault, since I haven't implemented shared
libraries for the VMS port (contributions are welcome). In any case, I
think anyone upgrading to omniORB 2.8.0 on VMS or Tru64 Unix should
consider upgrading the compiler if needed.
The port to OpenVMS VAX still doesn't work. I can't compile
include/omniORB2/CORBA.h. I tried to resurrect ENABLE_CLIENT_IR_SUPPORT
(and #undef it for the VAX platform) but ran into problems. I assume
this is obsolete? I'd like to have this working for the VAX platform
(but I suspect we may be the only users on that platform).
Bruce
--------------A26923A3C45A24ED74BBA1AD
Content-Type: application/x-unknown-content-type-diff_auto_file;
name="omniORB_280pre1_deccxx_5.6.diff"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="omniORB_280pre1_deccxx_5.6.diff"
KioqIGluY2x1ZGUvb21uaU9SQjIvQ09SQkEuaAlGcmkgSnVuIDI1IDA5OjU0OjMwIDE5OTkK
LS0tIG5ld2luY2x1ZGUvb21uaU9SQjIvQ09SQkEuaAlNb24gSnVsIDEyIDE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