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

Remove stray semicolon causing compiler error when using -Werror=pedantic #112

Merged
merged 1 commit into from
May 16, 2019
Merged

Remove stray semicolon causing compiler error when using -Werror=pedantic #112

merged 1 commit into from
May 16, 2019

Conversation

mjeronimo
Copy link
Contributor

No semi required after class method.

@tfoote tfoote added the in review Waiting for review (Kanban column) label May 16, 2019
@mjcarroll mjcarroll merged commit b4fd8af into ros2:ros2 May 16, 2019
@mjcarroll mjcarroll removed the in review Waiting for review (Kanban column) label May 16, 2019
@Karsten1987
Copy link
Contributor

Sorry, this must have slipped through. Does it generally make sense to have the pedantic setting enabled?

@mjeronimo
Copy link
Contributor Author

I think it would make sense for the ROS code to have the most restrictive compiler settings like pedantic enabled so that the code could be used by any team with their own local policy regarding compiler flags. Otherwise, when the consumers of the code are using more restrictive settings you risk compilation errors (as in this case).

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

Successfully merging this pull request may close these issues.

4 participants