Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pinocchio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
pinocchio
Commits
9b65d4b3
Verified
Commit
9b65d4b3
authored
6 years ago
by
Justin Carpentier
Browse files
Options
Downloads
Patches
Plain Diff
lib: add a macro that makes se3 namespace deprecated
parent
b66901e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/deprecated-namespaces.hpp
+25
-0
25 additions, 0 deletions
src/deprecated-namespaces.hpp
src/deprecation.hpp
+25
-0
25 additions, 0 deletions
src/deprecation.hpp
src/fwd.hpp
+1
-2
1 addition, 2 deletions
src/fwd.hpp
src/macros.hpp
+6
-0
6 additions, 0 deletions
src/macros.hpp
with
57 additions
and
2 deletions
src/deprecated-namespaces.hpp
0 → 100644
+
25
−
0
View file @
9b65d4b3
//
// Copyright (c) 2018 INRIA
//
// This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation, either version
// 3 of the License, or (at your option) any later version.
//
// Pinocchio is distributed in the hope that it will be
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Lesser Public License for more details. You should have
// received a copy of the GNU Lesser General Public License along with
// Pinocchio If not, see
// <http://www.gnu.org/licenses/>.
#ifndef __se3_deprecated_namespaces_hpp__
#define __se3_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
#endif
#endif // ifndef __se3_deprecated_namespaces_hpp__
This diff is collapsed.
Click to expand it.
src/deprecation.hpp
0 → 100644
+
25
−
0
View file @
9b65d4b3
//
// Copyright (c) 2018 INRIA
//
// This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation, either version
// 3 of the License, or (at your option) any later version.
//
// Pinocchio is distributed in the hope that it will be
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Lesser Public License for more details. You should have
// received a copy of the GNU Lesser General Public License along with
// Pinocchio If not, see
// <http://www.gnu.org/licenses/>.
#ifndef __se3_deprecation_hpp__
#define __se3_deprecation_hpp__
#include
"pinocchio/deprecated.hpp"
#include
"pinocchio/deprecated-macros.hpp"
#include
"pinocchio/deprecated-namespaces.hpp"
#endif // ifndef __se3_deprecation_hpp__
This diff is collapsed.
Click to expand it.
src/fwd.hpp
+
1
−
2
View file @
9b65d4b3
...
...
@@ -19,8 +19,7 @@
#define __se3_fwd_hpp__
#include
"pinocchio/macros.hpp"
#include
"pinocchio/deprecated-macros.hpp"
#include
"pinocchio/deprecated.hpp"
#include
"pinocchio/deprecation.hpp"
#include
"pinocchio/warning.hpp"
#include
"pinocchio/config.hpp"
...
...
This diff is collapsed.
Click to expand it.
src/macros.hpp
+
6
−
0
View file @
9b65d4b3
...
...
@@ -22,6 +22,12 @@
#define PINOCCHIO_WITH_CXX11_SUPPORT
#endif
#define PINOCCHIO_STRING_LITERAL(string) #string
/// \remarks The following two macros should be adapted for WIN32
#define PINOCCHIO_PRAGMA_MESSAGE(the_message) PINOCCHIO_STRING_LITERAL(message(the_message))
#define PINOCCHIO_PRAGMA_MESSAGE_CALL(the_message) _Pragma(PINOCCHIO_PRAGMA_MESSAGE(the_message))
/// \brief Macro to check the current Pinocchio version against a version provided by x.y.z
#define PINOCCHIO_VERSION_AT_LEAST(x,y,z) \
(PINOCCHIO_MAJOR_VERSION>x || (PINOCCHIO_MAJOR_VERSION>=x && \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment