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

rock noreply at opendfki.de
Sat Sep 22 10:41:36 CEST 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           |   Milestone:
Component:  base            |  Resolution:
 Keywords:                  |
----------------------------+------------------------------------

Comment (by sylvain.joyeux):

 The code in this ticket is invalid (at least, it is rejected by gcc and
 gccxml). The bug can be triggered with

 {{{
 namespace Batteries {
     struct BatteryValue {
         double field;
     };
 }
 namespace Test {
     struct Batteries {
         ::Batteries::BatteryValue bat;
     };
 }
 }}}

-- 
Ticket URL: <https://rock.opendfki.de/ticket/106#comment:1>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list