-
Notifications
You must be signed in to change notification settings - Fork 285
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
Conversation
…x_api_compatibility Conflicts: cmake/DARTMacros.cmake dart/constraint/CMakeLists.txt tools/issue_303_generator.bash
@@ -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") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gazebo
-> DART
@@ -81,7 +82,10 @@ class LCPSolver { | |||
const Eigen::VectorXd& _x); | |||
}; | |||
|
|||
DEPRECATED(4.3) | |||
typedef ODELCPSolver ODELCPSolver; |
There was a problem hiding this comment.
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
|
gazebo is building successfully now with the deprecation warnings |
Cool. +1 |
Fix API compatibility of dart 4.3
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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed by 36f07fb
This pull request fixes the API incompatibility introduced by dart 4.3.
Fix #303