ros / console_bridge

A ROS-independent package for logging that seamlessly pipes into rosconsole/rosout for ROS-dependent packages.
BSD 3-Clause "New" or "Revised" License
22 stars 62 forks source link

Compiler warnings on OSX due to the use of ## __VA_ARGS__ #55

Closed mikaelarguedas closed 4 years ago

mikaelarguedas commented 6 years ago

Apparently CLang complains about the use of ## __VA_ARGS__ as it is a GNU extension causing warnings on our CI: Warning type: -Wgnu-zero-variadic-macro-arguments Warning message: "token pasting of ',' and __VA_ARGS__ is a GNU extension"

Compiler version : AppleClang 9.0.0.9000039 Compiler args: -Wall -Wextra -Wpedantic

Example job producing warnings: http://ci.ros2.org/job/ci_osx/3283/warnings10Result/

scpeters commented 4 years ago

fixed by #64