remove semi triggering -Wextra-semi-stmt
diff --git a/Eigen/src/Core/DenseBase.h b/Eigen/src/Core/DenseBase.h index 7fd234b..767a8e2 100644 --- a/Eigen/src/Core/DenseBase.h +++ b/Eigen/src/Core/DenseBase.h
@@ -18,7 +18,7 @@ // The index type defined by EIGEN_DEFAULT_DENSE_INDEX_TYPE must be a signed type. // This dummy function simply aims at checking that at compile time. static inline void check_DenseIndex_is_signed() { - EIGEN_STATIC_ASSERT(NumTraits<DenseIndex>::IsSigned,THE_INDEX_TYPE_MUST_BE_A_SIGNED_TYPE); + EIGEN_STATIC_ASSERT(NumTraits<DenseIndex>::IsSigned,THE_INDEX_TYPE_MUST_BE_A_SIGNED_TYPE) } } // end namespace internal
diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h index ebae1a3..0b0f910 100644 --- a/Eigen/src/Core/GenericPacketMath.h +++ b/Eigen/src/Core/GenericPacketMath.h
@@ -273,7 +273,7 @@ */ template<typename Packet> EIGEN_DEVICE_FUNC inline Packet pldexp(const Packet &a, const Packet &exponent) { - EIGEN_USING_STD_MATH(ldexp); + EIGEN_USING_STD_MATH(ldexp) return ldexp(a, static_cast<int>(exponent)); } @@ -282,12 +282,12 @@ pzero(const Packet& /*a*/) { Packet b; memset((void*)&b, 0, sizeof(b)); return b;} template<> EIGEN_DEVICE_FUNC inline float pzero<float>(const float& a) { - EIGEN_UNUSED_VARIABLE(a); + EIGEN_UNUSED_VARIABLE(a) return 0.f; } template<> EIGEN_DEVICE_FUNC inline double pzero<double>(const double& a) { - EIGEN_UNUSED_VARIABLE(a); + EIGEN_UNUSED_VARIABLE(a) return 0.; }
diff --git a/Eigen/src/Core/MathFunctions.h b/Eigen/src/Core/MathFunctions.h index 96cb24f..40fcb5d 100644 --- a/Eigen/src/Core/MathFunctions.h +++ b/Eigen/src/Core/MathFunctions.h
@@ -972,7 +972,7 @@ EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T mini(const T& x, const T& y) { - EIGEN_USING_STD_MATH(min); + EIGEN_USING_STD_MATH(min) return min EIGEN_NOT_A_MACRO (x,y); } @@ -980,7 +980,7 @@ EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T maxi(const T& x, const T& y) { - EIGEN_USING_STD_MATH(max); + EIGEN_USING_STD_MATH(max) return max EIGEN_NOT_A_MACRO (x,y); } #else @@ -1291,7 +1291,7 @@ EIGEN_DEVICE_FUNC T (floor)(const T& x) { - EIGEN_USING_STD_MATH(floor); + EIGEN_USING_STD_MATH(floor) return floor(x); }
diff --git a/Eigen/src/Core/products/Parallelizer.h b/Eigen/src/Core/products/Parallelizer.h index 3bdd30e..8f91879 100644 --- a/Eigen/src/Core/products/Parallelizer.h +++ b/Eigen/src/Core/products/Parallelizer.h
@@ -22,7 +22,7 @@ inline void manage_multi_threading(Action action, int* v) { static int m_maxThreads = -1; - EIGEN_UNUSED_VARIABLE(m_maxThreads); + EIGEN_UNUSED_VARIABLE(m_maxThreads) if(action==SetAction) {
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h index 1b12544..f1d1d0f 100644 --- a/Eigen/src/Core/util/Memory.h +++ b/Eigen/src/Core/util/Memory.h
@@ -213,7 +213,7 @@ */ inline void* aligned_realloc(void *ptr, std::size_t new_size, std::size_t old_size) { - EIGEN_UNUSED_VARIABLE(old_size); + EIGEN_UNUSED_VARIABLE(old_size) void *result; #if (EIGEN_DEFAULT_ALIGN_BYTES==0) || EIGEN_MALLOC_ALREADY_ALIGNED
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index 68452ec..7932c8d 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h
@@ -688,7 +688,7 @@ EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC unsigned int as_uint(float x) { unsigned int ret; - EIGEN_USING_STD(memcpy); + EIGEN_USING_STD(memcpy) memcpy(&ret, &x, sizeof(float)); return ret; }