[Rock-dev] [rock] #106: typelib: invalid Corba IDL generated if a namespace and a struct have the same names

rock noreply at opendfki.de
Wed Feb 15 14:48:33 CET 2012


#106: typelib: invalid Corba IDL generated if a namespace and a struct have the
same names
---------------------------+-----------------------------------
Reporter:  sylvain.joyeux  |      Owner:  rock-dev-mailing-list
    Type:  defect          |     Status:  new
Priority:  major           |  Component:  base
Keywords:                  |
---------------------------+-----------------------------------
 With

 {{{
 namespace Batteries {
   struct BatteryValue {
   };
 }
 struct Batteries {
   BatteryValue bat;
 };
 }}}

 the Corba IDL generated by typelib is

 {{{
 module Batteries {
   module Corba {
     struct BatteryValue {
     };
   }
 }
 module Corba {
   struct Batteries {
     Batteries::Corba::BatteryValue bat;
   };
 }
 }}}

 However, Batteries::Corba references the struct Batteries,
 not the module. Typelib's idl exporter should add
 orogen::peripheral_controller:: in front.

-- 
Ticket URL: <http://rock.opendfki.de/ticket/106>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list