Skip to content

Problems with client.hpp "wait_for_service" function using Clang #624

@ghost

Description

Bug report

rclcpp won't compile using a 64-bit architecture on Clang++
Required Info:

  • Operating System:
    • OSX Mojave
  • Installation type:
    • Source
  • Version or commit hash:
    • 0.5.1, but looks to be present in newer versions
  • DDS implementation:
    Fast-RTPS
  • Client library (if applicable):
    • rclcpp

Steps to reproduce issue

Attempt to compile rclcpp using 64-bit clang

Expected behavior

Compiles

Actual behavior

Error thrown, type error between long and long long when parameter_client.cpp calls client->wait_for_service()

Additional information

https://stackoverflow.com/questions/36302993/clangs-libc-using-long-long-in-the-definition-of-stdchronoduration

Looks to be a clang specific issue with regards to how it implements std::chrono

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogbugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions