Verified Commit 37684d2c authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: handle WIN32 case

parent 956b8b66
Pipeline #13849 passed with stage
in 50 minutes and 40 seconds
......@@ -42,11 +42,17 @@
#include <hpp/fcl/config.hh>
#if _WIN32
#define HPP_FCL_PRETTY_FUNCTION __FUNCSIG__
#else
#define HPP_FCL_PRETTY_FUNCTION __PRETTY_FUNCTION__
#endif
#define HPP_FCL_THROW_PRETTY(message,exception) \
{ \
std::stringstream ss; \
ss << "From file: " << __FILE__ << "\n"; \
ss << "in function: " << __PRETTY_FUNCTION__ << "\n"; \
ss << "in function: " << HPP_FCL_PRETTY_FUNCTION << "\n"; \
ss << "at line: " << __LINE__ << "\n"; \
ss << "message: " << message << "\n"; \
throw exception(ss.str()); \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment