[omniORB] This is strange construct, but ...

Duncan Grisby dgrisby@uk.research.att.com
Mon, 10 Sep 2001 13:54:33 +0100


On Tuesday 28 August, "aefimov" wrote:

> This is a multi-part message in MIME format.

Please don't send HTML mail to the mailing list.

> // ap26.idl
> module SDAI
> {
>  #include "part41.idl"
> };

[...]
> The usage of the #include "part41.idl" like in ap26.idl is very
> important for me

It is a _very_ bad idea to use #include within a module, or anywhere
else except global scope. You will encounter errors like this, and
interoperability problems between ORBs if you do that.

That said, omniORB 3.0.4 changed the way that sort of evil #include
was dealt with. If you are using 3.0.3 or earlier, upgrade and try
again.

Cheers,

Duncan.

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