Skip to content
Snippets Groups Projects
Verified Commit f0ab8095 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

deprecation: update policy for handling former se3 namespace

parent 09c1461c
Branches
Tags
No related merge requests found
......@@ -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__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment