[omniORB] Does omniORBpy support long double yet?

Duncan Grisby dgrisby@uk.research.att.com
Thu, 05 Apr 2001 18:18:40 +0100


On Thursday 5 April, Craig Rodrigues wrote:

> Is there an option I can pass to omniidl, so that it will
> not choke on an IDL file, but instead will refuse to generate
> code for types it does not support?

As you've figured out by now, no current version of omniORB or
omniORBpy supports long double. It's on the list of things to do for
omniORB 4 / omniORBpy 2. It's marginally painful since the on-the-
wire format is 128 bits, but the internal representation on some
architectures is only 80 bits so you have to understand the bit layout
to convert from one to the other. Not a big deal, but it's a bit of
thinking.

It should be easy to add a flag to the omniidl Python back-end which
causes it to miss out operations involving unsupported types. I'll
look into it.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --