Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API compatibility of dart 4.3 #309

Merged
merged 9 commits into from
Jan 22, 2015

Conversation

jslee02
Copy link
Member

@jslee02 jslee02 commented Jan 21, 2015

This pull request fixes the API incompatibility introduced by dart 4.3.

Fix #303

@@ -70,14 +70,14 @@ endmacro()
# Copied from https://bitbucket.org/osrf/gazebo/pull-request/638 and will be
# removed by DART 5.0
#===============================================================================
macro(dt_issue_303 _name)
macro(dt_issue_303 _name _output_name)
if (FILESYSTEM_CASE_SENSITIVE)
if (${DART_VERSION} VERSION_GREATER 4.3)
message(WARNING "Installing deprecated ${_name}.hh. This should be removed after Gazebo 4.3")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gazebo -> DART

@jslee02 jslee02 added this to the Release DART 4.3 milestone Jan 21, 2015
@jslee02 jslee02 added Comp: API priority: high should be resolved right now type: bug Indicates an unexpected problem or unintended behavior labels Jan 21, 2015
@@ -81,7 +82,10 @@ class LCPSolver {
const Eigen::VectorXd& _x);
};

DEPRECATED(4.3)
typedef ODELCPSolver ODELCPSolver;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the same name

@scpeters
Copy link
Collaborator

In file included from dart/constraint/DantzigLCPSolver.cpp:47:0:
dart/lcpsolver/LCPSolver.h:21:2: warning: #warning The dart/lcpsolver/LCPSolver.h header file is deprecated as of gazebo 4.3 and will be removed in the next release. [-Wcpp]
 #warning The dart/lcpsolver/LCPSolver.h header file is deprecated \
  ^
In file included from dart/constraint/PGSLCPSolver.cpp:47:0:
dart/lcpsolver/LCPSolver.h:21:2: warning: #warning The dart/lcpsolver/LCPSolver.h header file is deprecated as of dart 4.3 and will be removed in the next release. [-Wcpp]
 #warning The dart/lcpsolver/LCPSolver.h header file is deprecated \
  ^

@scpeters
Copy link
Collaborator

gazebo is building successfully now with the deprecation warnings

@jslee02
Copy link
Member Author

jslee02 commented Jan 22, 2015

Cool. +1

jslee02 added a commit that referenced this pull request Jan 22, 2015
@jslee02 jslee02 merged commit bdc7000 into release-4.3 Jan 22, 2015
@jslee02 jslee02 deleted the release-4.3_fix_api_compatibility branch January 22, 2015 14:51
macro(dt_issue_303 _name _output_name)
if (FILESYSTEM_CASE_SENSITIVE)
if (${DART_VERSION} VERSION_GREATER 4.3)
message(WARNING "Installing deprecated ${_name}.hh. This should be removed after DART 4.3")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be removed after DART 5.0?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it means "removed by DART 5.0", yes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by 36f07fb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high should be resolved right now type: bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants