jrl-umi3218 / mc_openrtm

Interface between OpenRTM and mc_rtc
BSD 2-Clause "Simplified" License
3 stars 10 forks source link

Support macos #1

Closed fkanehiro closed 4 years ago

fkanehiro commented 4 years ago

This PR enables to compile on macOS.

fkanehiro commented 4 years ago

clang-format-check.sh is failing and clang-format-fix.sh is proposing to revert the second commit. But this commit is necessary to compile on macOS. macOS (or newer compiler?) requires including header files in which data types are declared before including *Port.h.

gergondet commented 4 years ago

I've inserted a white line before the data types inclusion. This way clang-format doesn't complain anymore and we won't have compilation issues :)

Will merge when the CI passes. Thanks for your contribution.