Skip to content

Guard for shapes.h is the same as guard for geometric_shapes/shapes.h #17

Open
@ana-GT

Description

Hi. I am working in a project where I am using both geometric_shapes/shapes.h and robot_self_filter/shapes.h . Both files have the exact same header guard: GEOMETRIC_SHAPES_SHAPES_ , which results in compilation errors as only one of the header files can be included at a time. Could it be possible to change the robot_self_filter/shapes.h guard to something like: ROBOT_SELF_FILTER_GEOMETRIC_SHAPES_? (or anything but GEOMETRIC_SHAPES_SHAPES_?)

I fix this problem by locally editing the guard in robot_self_filter/shapes.h , but my package needs to be distributed, so the local fix is not an ideal solution. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions