Verified Commit f0ab8095 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

deprecation: update policy for handling former se3 namespace

parent 09c1461c
......@@ -18,8 +18,10 @@
#ifndef __pinocchio_deprecated_namespaces_hpp__
#define __pinocchio_deprecated_namespaces_hpp__
#ifdef PINOCCHIO_ENABLE_COMPATIBILITY_WITH_VERSION_1
#define se3 PINOCCHIO_PRAGMA_MESSAGE_CALL("The se3 namespace has been set to deprecated since version 2.0.0. Please use namespace pinocchio instead") pinocchio
#if PINOCCHIO_ENABLE_COMPATIBILITY_WITH_VERSION_1 // do not warn
#define se3 ::pinocchio
#else
#define se3 PINOCCHIO_PRAGMA_MESSAGE_CALL("The se3 namespace has been deprecated since version 2.0.0. Please use namespace pinocchio instead.") ::pinocchio
#endif
#endif // ifndef __pinocchio_deprecated_namespaces_hpp__
Markdown is supported
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