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

fix clang warnings #64

Closed rhaschke closed 4 years ago

rhaschke commented 4 years ago

When compiling console_bridge with clang, I get the following warnings:

In file included from /vol/sandbox/ros2/src/srdfdom/src/model.cpp:38:
/opt/ros/dashing/include/console_bridge/console.h:67:90: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
  console_bridge::log(__FILE__, __LINE__, console_bridge::CONSOLE_BRIDGE_LOG_ERROR, fmt, ##__VA_ARGS__)