[omniORB] Nesting IDL files

Olaf Meding olaf@tomotherapy.com
Fri, 20 Apr 2001 18:00:36 -0500


omniORB does not seem to deal with nested IDL files correctly or maybe I am
doing something wrong?  The IDL compiler has no problem compiling the main
and nested idl files.  However, when I compile the files produced by the IDL
compiler with VC6 I get an error saying that a header file is missing.  The
name of the header file is the name of the nested IDL file.

Here is my (abreviated) IDL file:
  module tcorba {
    // losts of code shared by all of our IDL files

    #include "name.idl"

  }

Here is the IDL compiler command line:
  omniidl.exe -bcxx -Wbsplice-modules
  -I..\..\..\code\common
  -DREAL_TIME_DATA_IDL
  -Wbh=.h -Wbs=.cpp
  -Cidl ..\..\..\code\common\tomotherapy.idl


Olaf

Using binary omniORB 3.0.3 with static run-time libraries with VC6 (sp5) on
NTW4 (sp5).