Fix compilation error with clang-5
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
#define __EIGEN3_EIGENVALUES_C_API_CC__
|
#define __EIGEN3_EIGENVALUES_C_API_CC__
|
||||||
|
|
||||||
/* Eigen gives annoying huge amount of warnings here, silence them! */
|
/* Eigen gives annoying huge amount of warnings here, silence them! */
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && !defined(__clang__)
|
||||||
# pragma GCC diagnostic ignored "-Wlogical-op"
|
# pragma GCC diagnostic ignored "-Wlogical-op"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
#define __EIGEN3_SVD_C_API_CC__
|
#define __EIGEN3_SVD_C_API_CC__
|
||||||
|
|
||||||
/* Eigen gives annoying huge amount of warnings here, silence them! */
|
/* Eigen gives annoying huge amount of warnings here, silence them! */
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && !defined(__clang__)
|
||||||
# pragma GCC diagnostic ignored "-Wlogical-op"
|
# pragma GCC diagnostic ignored "-Wlogical-op"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
* \ingroup bph
|
* \ingroup bph
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && !defined(__clang__)
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
/* XXX suppress verbose warnings in eigen */
|
/* XXX suppress verbose warnings in eigen */
|
||||||
# pragma GCC diagnostic ignored "-Wlogical-op"
|
# pragma GCC diagnostic ignored "-Wlogical-op"
|
||||||
|
@@ -39,7 +39,7 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
/* XXX suppress verbose warnings in eigen */
|
/* XXX suppress verbose warnings in eigen */
|
||||||
# pragma GCC diagnostic ignored "-Wlogical-op"
|
//# pragma GCC diagnostic ignored "-Wlogical-op"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef IMPLICIT_ENABLE_EIGEN_DEBUG
|
#ifndef IMPLICIT_ENABLE_EIGEN_DEBUG
|
||||||
|
Reference in New Issue
Block a user