[omniORB] Cross platform headers (windows, linux)

Vitaly Prapirny marl@mebius.net
Tue Jan 28 17:44:02 2003


Duncan Grisby wrote:
> 
> On Tuesday 21 January, matejkenda@volja.net wrote:
> 
> > Please find attached the patch against the omniORB 4.0.0, which allows to use
> > the same omniORB4 header files on Windows and Linux (most probably other
> > platforms, too).
> >
> > I don't know if that is the correct solution, but it works for us.
> 
> 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.

> handle the CORBA::LongDoubleSeq type. Your fix is reasonable for your
> installation, but in general, it's easier to have two separate sets of
> headers.
> 
> Cheers,
> 
> Duncan.
> 
> --
>  -- Duncan Grisby         --
>   -- duncan@grisby.org     --
>    -- http://www.grisby.org --
> _______________________________________________
> omniORB-list mailing list
> omniORB-list@omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list