[omniORB] omniidl: porting from 2.8 to 3.03

Attila Pletyak attila.pletyak@anemo.com
Thu, 17 May 2001 17:23:23 +0200


Hello,

   I have a small question regarding the omniidl. We are just porting 
our software from omniORB 2.8 to 3.03.

   omniidl2 let me do the following:

   interface A
   {
       const string IORFILE=CONFIG_FILE_DIR "A.ior";
   };

   I did the following:

   omniidl2 -h SK.hh -DCONFIG_FILE_DIR="/var/A" A.idl

   Now I get the following error:

   omniidl -bcxx -Wbh=SK.hh -DCONFIG_FILE_DIR="/var/A" A.idl

A.idl:41: Syntax error in interface body
A.idl:41: Error in look-up of `var': `var' not found
A.idl:41: Error in look-up of `A': `A' not found
omniidl: 3 errors.

   It looks to me that instead of putting there the defined string 
constant, it puts there the value of the
string constant, which is definitely not what I want.

   Any help appreciated,

   Attila Pletyak
   Anemo Ltd.