[omniORB] omniidl bug

Serguei Kolos Serguei.Kolos at cern.ch
Fri Mar 19 11:38:52 GMT 2004


Hi

It seems that the -Wbkeep_inc_path option for the cxx backend does not work
as expected. Consider the following example:

1. file Test.idl contains the line:

   #include <mydir/myidl.idl>

2. myidl.idl file is in the /home/myincludes/mydir directory

3. I'm executing the following command:

   > omniidl -bcxx -Wbkeep_inc_path -I/home/myincludes TT.idl

4. and finally the generated TT.hh file contains the following statement:

#ifndef __myidl_hh_EXTERNAL_GUARD__
#define __myidl_hh_EXTERNAL_GUARD__
#include </home/myincludes/mydir/myidl.hh>
#endif

5. I would expect to have here the following:
#ifndef __myidl_hh_EXTERNAL_GUARD__
#define __myidl_hh_EXTERNAL_GUARD__
#include <mydir/myidl.hh>
#endif

Cheers,
Sergei




More information about the omniORB-list mailing list