[omniORB] omniidl: porting from 2.8 to 3.03
Attila Pletyak
attila.pletyak@anemo.com
Thu, 17 May 2001 18:15:56 +0200
Gary D. Duzan wrote:
>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
>
Thanks for you answer. I tried it, but it is still the same. But the
following works:
-DCONFIG_FILE_DIR='\"/var/A\"'
Sincerely,
Attila Pletyak
Anemo Ltd.