Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jsk_topic_tools] Fix too many warnings about JSK_ROS_XXX #1468

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions jsk_topic_tools/include/jsk_topic_tools/log_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ namespace jsk_topic_tools
}

#define JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX() \
ROS_WARN("DEPRECATION WARNING: JSK_NODELET_XXX log macros are deprecated, and please use NODELET_XXX instead." \
" (See https://github.com/jsk-ros-pkg/jsk_common/issues/1461)");
ROS_WARN_ONCE("DEPRECATION WARNING: JSK_NODELET_XXX log macros are deprecated, and please use NODELET_XXX instead." \
" (See https://github.com/jsk-ros-pkg/jsk_common/issues/1461)");
#define JSK_TOPIC_TOOLS_DEPRECATED_JSK_ROS_XXX() \
ROS_WARN("DEPRECATION WARNING: JSK_ROS_XXX log utils are deprecated, and please use ROS_XXX instead." \
" (See https://github.com/jsk-ros-pkg/jsk_common/issues/1461)");
ROS_WARN_ONCE("DEPRECATION WARNING: JSK_ROS_XXX log utils are deprecated, and please use ROS_XXX instead." \
" (See https://github.com/jsk-ros-pkg/jsk_common/issues/1461)");

#define JSK_NODELET_DEBUG(str,...) \
JSK_TOPIC_TOOLS_DEPRECATED_JSK_NODELET_XXX(); \
Expand Down