From 9059a19cc28d79a81a6acc65426cb4c30d3e17f0 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Sat, 23 Mar 2024 18:27:41 -0700 Subject: [PATCH] [build] Include config.hpp --- dart/collision/Option.hpp | 2 +- dart/collision/Result.hpp | 2 +- dart/common/Macros.hpp | 3 ++- dart/common/MemoryAllocator.hpp | 1 + dart/constraint/ConstrainedGroup.hpp | 1 + dart/constraint/DantzigLCPSolver.hpp | 4 ++-- dart/constraint/PGSLCPSolver.hpp | 2 +- dart/dynamics/MultiSphereShape.hpp | 2 +- dart/utils/urdf/URDFTypes.hpp | 2 +- 9 files changed, 11 insertions(+), 8 deletions(-) diff --git a/dart/collision/Option.hpp b/dart/collision/Option.hpp index 467ce0e3b4829..dbde8de16b961 100644 --- a/dart/collision/Option.hpp +++ b/dart/collision/Option.hpp @@ -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" diff --git a/dart/collision/Result.hpp b/dart/collision/Result.hpp index 0925818102b34..08c7aed9e8af2 100644 --- a/dart/collision/Result.hpp +++ b/dart/collision/Result.hpp @@ -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" diff --git a/dart/common/Macros.hpp b/dart/common/Macros.hpp index 5c90e3ebcb539..205922b4675f3 100644 --- a/dart/common/Macros.hpp +++ b/dart/common/Macros.hpp @@ -36,6 +36,7 @@ #include #include "dart/common/Logging.hpp" +#include "dart/config.hpp" // DART_NUM_ARGS( [, [, ...]]) #define DETAIL_DART_NUM_ARGS(z, a, b, c, d, e, f, cnt, ...) cnt @@ -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 \ diff --git a/dart/common/MemoryAllocator.hpp b/dart/common/MemoryAllocator.hpp index 4644f1df0fe4e..3bcf228d4fe20 100644 --- a/dart/common/MemoryAllocator.hpp +++ b/dart/common/MemoryAllocator.hpp @@ -38,6 +38,7 @@ #include #include "dart/common/Castable.hpp" +#include "dart/config.hpp" namespace dart::common { diff --git a/dart/constraint/ConstrainedGroup.hpp b/dart/constraint/ConstrainedGroup.hpp index 1d0b1d98ade3e..43ef1c113e87f 100644 --- a/dart/constraint/ConstrainedGroup.hpp +++ b/dart/constraint/ConstrainedGroup.hpp @@ -38,6 +38,7 @@ #include +#include "dart/config.hpp" #include "dart/constraint/SmartPointer.hpp" namespace dart { diff --git a/dart/constraint/DantzigLCPSolver.hpp b/dart/constraint/DantzigLCPSolver.hpp index 4b3a4f1de353f..252f613ab7041 100644 --- a/dart/constraint/DantzigLCPSolver.hpp +++ b/dart/constraint/DantzigLCPSolver.hpp @@ -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 @@ -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); diff --git a/dart/constraint/PGSLCPSolver.hpp b/dart/constraint/PGSLCPSolver.hpp index fb8b67f171503..4b6d4d74eed2a 100644 --- a/dart/constraint/PGSLCPSolver.hpp +++ b/dart/constraint/PGSLCPSolver.hpp @@ -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); diff --git a/dart/dynamics/MultiSphereShape.hpp b/dart/dynamics/MultiSphereShape.hpp index bfeeccc5c089d..9e82ef08cc71f 100644 --- a/dart/dynamics/MultiSphereShape.hpp +++ b/dart/dynamics/MultiSphereShape.hpp @@ -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" diff --git a/dart/utils/urdf/URDFTypes.hpp b/dart/utils/urdf/URDFTypes.hpp index 44120a7590820..2e08e08b4f0a2 100644 --- a/dart/utils/urdf/URDFTypes.hpp +++ b/dart/utils/urdf/URDFTypes.hpp @@ -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"