[omniORB] omniidl: porting from 2.8 to 3.03

Gary D. Duzan gdd0@gte.com
Thu, 17 May 2001 11:39:21 -0400


In Message <3B03ECEB.9070902@anemo.com> ,
   Attila Pletyak <attila.pletyak@anemo.com> wrote:

=>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 like the quotes are being eaten by your shell. Try:

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

					Gary Duzan
					Verizon IT