[omniORB] omniidl creating invalid include entry in generated header file

Lichszteld,Roman Roman.Lichszteld at bronermetals.com
Thu Jul 27 16:13:58 BST 2006


I've just made another test:

Assuming our 'test_module.idl' is in 'testDir' folder let's run omniidl
twice (in either case we want .h and .cxx files to be placed in 'testDir'):

1) From parent dir:

omniidl -bcxx -Wbh='.h' -Wbs='.cxx' -Wbd='DynSK.cxx' -Wbkeep_inc_path
-C./testDir testDir/test_module.idl

test_module.h:

#ifndef ___hh_EXTERNAL_GUARD__
#define ___hh_EXTERNAL_GUARD__
#include <testDir/.h>
#endif

2) From within 'testDir':

omniidl -bcxx -Wbh='.h' -Wbs='.cxx' -Wbd='DynSK.cxx' -Wbkeep_inc_path -C.
test_module.idl

test_module.h:

#ifndef __header_hh_EXTERNAL_GUARD__
#define __header_hh_EXTERNAL_GUARD__
#include <header.h>
#endif

What is this 'header.h' file??? Why at all is there any difference in
output? 
>From my understanding both runs are equivalent, aren't they?

Regards

Roman Lichszteld



More information about the omniORB-list mailing list