[Rock-dev] [rock] #321: nested namespaces don't work in orogen

rock noreply at opendfki.de
Tue Aug 20 13:16:37 CEST 2013


#321: nested namespaces don't work in orogen
-----------------------+------------------------------------
 Reporter:  chcl01@…   |       Owner:  rock-dev-mailing-list
     Type:  defect     |      Status:  new
 Priority:  normal     |   Milestone:
Component:  toolchain  |  Resolution:
 Keywords:             |
-----------------------+------------------------------------

Comment (by sylvain.joyeux):

 *Not* minimalizing it would have helped a lot ... Since the example is
 completely wrong.

 "Working" example:

 {{{
 #include <base/Pose.hpp>

 namespace test {
     struct PrimitiveObject
     {
         /** primitive type */
         enum types
         {
             INVALID = 0,
             BOX,
             CYLINDER
         };

         /** type of the the primitive */
         types type;
     };

     struct WithOpaque
     {
         base::Pose pose;
         PrimitiveObject::types type;
     };
 }
 }}}

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


More information about the Rock-dev mailing list