Skip to content

Commit

Permalink
[build] Include config.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Mar 24, 2024
1 parent ce0fca3 commit 9059a19
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dart/collision/Option.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#pragma message( \
"This header has been deprecated in DART 6.1. " \
"Please include CollisionOption.hpp intead.")
"Please include CollisionOption.hpp instead.")

#include "dart/collision/CollisionOption.hpp"

Expand Down
2 changes: 1 addition & 1 deletion dart/collision/Result.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#pragma message( \
"This header has been deprecated in DART 6.1. " \
"Please include CollisionResult.hpp intead.")
"Please include CollisionResult.hpp instead.")

#include "dart/collision/CollisionResult.hpp"

Expand Down
3 changes: 2 additions & 1 deletion dart/common/Macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <cassert>

#include "dart/common/Logging.hpp"
#include "dart/config.hpp"

// DART_NUM_ARGS(<arg1> [, <arg2> [, ...]])
#define DETAIL_DART_NUM_ARGS(z, a, b, c, d, e, f, cnt, ...) cnt
Expand Down Expand Up @@ -68,7 +69,7 @@
#define DETAIL_DART_ASSERT_2(condition, message) assert((condition) && #message)
#define DART_ASSERT(...) \
DART_CONCAT(DETAIL_DART_ASSERT_, DART_NUM_ARGS(__VA_ARGS__)) \
(__VA_ARGS__)
(__VA_ARGS__)

// Macro to mark the function is not implemented
#define DART_NOT_IMPLEMENTED \
Expand Down
1 change: 1 addition & 0 deletions dart/common/MemoryAllocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <string>

#include "dart/common/Castable.hpp"
#include "dart/config.hpp"

namespace dart::common {

Expand Down
1 change: 1 addition & 0 deletions dart/constraint/ConstrainedGroup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

#include <Eigen/Dense>

#include "dart/config.hpp"
#include "dart/constraint/SmartPointer.hpp"

namespace dart {
Expand Down
4 changes: 2 additions & 2 deletions dart/constraint/DantzigLCPSolver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace dart {
namespace constraint {

/// \deprecated This header has been deprecated in DART 6.7. Please include
/// DantzigBoxedLcpSolver.hpp intead.
/// DantzigBoxedLcpSolver.hpp instead.
///
/// DantzigLCPSolver is a LCP solver that uses ODE's implementation of Dantzig
/// algorithm
Expand All @@ -63,7 +63,7 @@ class DantzigLCPSolver : public LCPSolver
/// Return true if the matrix is symmetric
bool isSymmetric(std::size_t _n, double* _A);

/// Return true if the diagonla block of matrix is symmetric
/// Return true if the diagonal block of matrix is symmetric
bool isSymmetric(
std::size_t _n, double* _A, std::size_t _begin, std::size_t _end);

Expand Down
2 changes: 1 addition & 1 deletion dart/constraint/PGSLCPSolver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PGSLCPSolver : public LCPSolver
/// Return true if the matrix is symmetric
bool isSymmetric(std::size_t _n, double* _A);

/// Return true if the diagonla block of matrix is symmetric
/// Return true if the diagonal block of matrix is symmetric
bool isSymmetric(
std::size_t _n, double* _A, std::size_t _begin, std::size_t _end);

Expand Down
2 changes: 1 addition & 1 deletion dart/dynamics/MultiSphereShape.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#pragma message( \
"This header has been deprecated in DART 6.2. " \
"Please include MultiSphereConvexHullShape.hpp intead.")
"Please include MultiSphereConvexHullShape.hpp instead.")

#include "dart/dynamics/MultiSphereConvexHullShape.hpp"

Expand Down
2 changes: 1 addition & 1 deletion dart/utils/urdf/URDFTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#pragma message( \
"This header has been deprecated in DART 6.2. " \
"Please include dart/utils/urdf/BackwardCompatibility.hpp intead.")
"Please include dart/utils/urdf/BackwardCompatibility.hpp instead.")

#include "dart/utils/urdf/BackwardCompatibility.hpp"

Expand Down

0 comments on commit 9059a19

Please sign in to comment.