Skip to content

Conversation

@gsokoll
Copy link

@gsokoll gsokoll commented Jan 6, 2026

Add blocklist patterns to generate_bindings.py to prevent bindgen from generating typesupport function declarations that clash with vendored message crates (rosidl_generator_rs generates these with *const c_void).

Remove existing duplicate extern declarations from all 4 generated binding files for:

  • rosidl_typesupport_c__get_message_type_support_handle__action_msgs__*
  • rosidl_typesupport_c__get_service_type_support_handle__action_msgs__*

Also fix clippy useless_vec warning in build.rs.

Closes #559

Add blocklist patterns to generate_bindings.py to prevent bindgen from
generating typesupport function declarations that clash with vendored
message crates (rosidl_generator_rs generates these with *const c_void).

Remove existing duplicate extern declarations from all 4 generated
binding files for:
- rosidl_typesupport_c__get_message_type_support_handle__action_msgs__*
- rosidl_typesupport_c__get_service_type_support_handle__action_msgs__*

Also fix clippy useless_vec warning in build.rs.

Closes ros2-rust#559
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.

Duplicate extern declarations causing clashing_extern_declarations warnings

1 participant