Skip to content

Missing stdbool.h import is breaking downstream C clients #424

Description

@banerjs-overland

Generated by Generative AI

Diagnosed by Claude Opus 4.6

Operating System:

ubuntu 22.04

ROS version or commit hash:

jazzy

RMW implementation (if applicable):

No response

RMW Configuration (if applicable):

No response

Client library (if applicable):

No response

'ros2 doctor --report' output

No response

Steps to reproduce issue

  /* C translation unit that includes rmw/time.h */
  #include "rmw/time.h"

  void test_func(void) {
      rmw_time_t a = {0, 0};
      rmw_time_t b = {0, 0};
      bool result = rmw_time_equal(a, b);
      (void)result;
  }
  • Create a minimal colcon workspace with rcutils:jazzy and rmw:jazzy (unfixed) and the above C file in a test C package
  • colcon build in the workspace reproduced the above error
  • Changing the rmw package to include the fix in this MR allowed the build to succeed.

Expected behavior

Able to build rmw.

Actual behavior

Unable to build rmw

Additional information

I put up a PR with #423 but I'm guessing it's not getting visibility because of a missing bug report? Hoping that this is the missing link. I'm hoping the patch makes it in before a new apt package is released to downstream consumers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions