[omniORB] Cross platform headers (windows, linux)

Duncan Grisby duncan@grisby.org
Fri Jan 24 12:45:02 2003


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
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 --