Re: orbit-idl-2 ... Anyone?



On Thu, May 23, 2002 at 06:02:38PM -0500, Diego Sevilla Ruiz wrote:
> Hi!
> 
> On Fri, May 24, 2002 at 06:37:29AM +0800, Hing-Wah Wan wrote:
> 
> | It should be legal and it work for me ,I'm using  2.3.110 though
> 
> It is *not* legal, and if orbit-idl compiles this is broken unless it
> recognizes that is Pseudo-IDL. Please, take a look at the links that
> were posted just today to this list to the lattest CORBA 2.6.1 spec. In
> it, it is stated that (BNF):
> 
> <type_dcl> ::=  typedef  <type_declarator> 
> 	| <struct_type> 
> 	| <union_type> 
> 	| <enum_type> 
> 	|  native  <simple_declarator> 
> 	| <constr_forward_decl>
> 
> and 
> 
> <type_declarator> ::= <type_spec> <declarators>
> <type_spec> ::= <simple_type_spec> | <constr_type_spec>
> 
> and
> 
> <declarators> ::= <declarator> {  ,  <declarator> }*
> <declarator> ::= <simple_declarator>
> 	| <complex_declarator>
> 
> and
> 
> <complex_declarator> ::= <array_declarator>
ORBit 2 is targeted at CORBA 2.4 instead of CORBA 2.6,
where the way to declare a array is :

(83) <array_declarator> ::= <identifier> <fixed_array_size>+ 
(84) <fixed_array_size> ::=  [  <positive_int_const>  ]

um..and also the C Language Mapping is not updated to reflect the new
mapping of array for CORBA 2.6...

> 
> 
> 	So, starting in a typedef is the only way of define a
> (correctly-written) IDL.
> 
> 	Best regards.
> 	diego.
> 
> -- 
> Diego Sevilla Ruiz  http://ditec.um.es/~dsevilla  dsevilla@um.es  \    /\
> Dpto. Ingenier?a y Tecnolog?a de Computadores http://ditec.um.es   )  ( ')
> Visiting Extreme! Computing Lab       http://extreme.indiana.edu  (  /  )
> Indiana University, Bloomington               http://www.iub.edu   \(__)|
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]