[omniORB] #pragma version on linux

Sai-Lai Lo S.Lo@orl.co.uk
17 Nov 1998 16:49:29 +0000


>>>>> Herve Lehoux writes:

> Is anyone able to use  #pragma version in idl files with omniorb ?
> i get weird things in the .hh stub genetrated like :
> #define Base_Dispatcher_IntfRepoID "IDL:Base/Dispatcher:=FE^ Q ^H "

> when using=20

> module Base {
> 	interface Dispatcher {
> 	.../...
> 	};
> #pragma version Dispatcher 1.3
> };


This is a bug. As you know the correct output should be=20
"IDL:Base/Dispatcher:1.3".

Looks like our changeover in 2.6.x to use bison instead of sun's yacc has
introduced this bug. 2.5.x and earlier has no problem with the pragma.

I'll look into a fix.

Sai-Lai



--=20
Dr. Sai-Lai Lo                          |       Research Scientist
                                        |
E-mail:         S.Lo@orl.co.uk          |       Olivetti & Oracle Researc=
h Lab
                                        |       24a Trumpington Street
Tel:            +44 223 343000          |       Cambridge CB2 1QA
Fax:            +44 223 313542          |       ENGLAND