ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It looks like rc_usefulincludes.h redefines the min
macro, and this is incompatible with std::min
that is defined by the C++ standard library: http://www.cplusplus.com/reference/algorithm/min/ . When other STL libraries try to call the standard 3-argument version of min
, they fail. (This is valid even for C++98, so switching C++ versions will result in the same incompatibility)
You should probably either file a bug about this with that library, or fix it yourself by removing that line from that header, and updating the library to use std::min
instead.
2 | No.2 Revision |
It looks like rc_usefulincludes.h redefines the min
macro, and this is incompatible with std::min
that is defined by the C++ standard library: http://www.cplusplus.com/reference/algorithm/min/ . When other STL libraries try to call the standard 3-argument version of min
, they fail. (This is valid even for C++98, so switching C++ versions will result in the same incompatibility)
You should probably either file a bug about this with that library, or fix it yourself by removing that line from that header, and updating the library to use std::min
instead.