Skip to content

use add_compile_options instead of setting only cxx flags - #59

Merged
mikaelarguedas merged 1 commit into
masterfrom
add_compile_options
Sep 20, 2018
Merged

mikaelarguedas merged 1 commit into
masterfrom
add_compile_options

Conversation

@mikaelarguedas

@mikaelarguedas mikaelarguedas commented Sep 19, 2018 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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.

1 participant