Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ana-GT opened this issue Aug 26, 2017 · 0 comments
Open

Comments

@ana-GT
Copy link

ana-GT commented Aug 26, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant