[omniORB] Cross platform headers (windows, linux)

Vitaly Prapirny marl@mebius.net
Thu Jan 30 12:32:02 2003


Duncan Grisby wrote:
> 
> On Tuesday 28 January, Vitaly Prapirny wrote:
> 
> > > The difficulty is that that file is generated by the IDL compiler, so
> > > it cannot be patched in the omniORB distribution. The issue arises
> > > because Windows doesn't support the long double type, so it can't
> >
> > What did you mean ? All of bcc32(5.5), vc6, gcc(3.2 cygwin) successfully
> > compile sources with long double variable.
> 
> Yes, but on Windows long double is the same size as double, 64 bits.
> It is therefore not suitable for use as a CORBA long double, which
> must be at least 80 bits.
> 
bcc32(5.5)      sizeof(long double) = 10
vc6             sizeof(long double) = 8
gcc(3.2 cygwin) sizeof(long double) = 12

So, vc6 doesn't support long double type, but Windows does :)