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

use add_compile_options instead of setting only cxx flags #59

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

mikaelarguedas
Copy link
Member

@mikaelarguedas mikaelarguedas commented Sep 19, 2018

We can now compile the C generated code with -Wpedantic (see ros2/ros2#567 (comment) for additional context).

I have a similar commits for all message packages, I am planning on getting the changes reviewed here and then push the other identical commits directly.

This does not supersede the work from ros2/ros2#567 that will eventually replace the way compile options are passed, but I figured I'd open this as I already had all the changes to confirm that ros2/rosidl_python#10 allowed us to compile with pedantic.

Below CI for all the add_compile_options branches.

None:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status

Release:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status

Debug:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status

@mikaelarguedas mikaelarguedas added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Sep 19, 2018
@mikaelarguedas mikaelarguedas self-assigned this Sep 19, 2018
@mikaelarguedas
Copy link
Member Author

Merging after getting offline approval from @wjwwood

@mikaelarguedas mikaelarguedas merged commit 57920ad into master Sep 20, 2018
@mikaelarguedas mikaelarguedas deleted the add_compile_options branch September 20, 2018 18:16
@mikaelarguedas mikaelarguedas removed the in review Waiting for review (Kanban column) label Sep 20, 2018
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.

None yet

1 participant