Fix compilation error with clang-5

This commit is contained in:
Sergey Sharybin
2017-11-14 17:00:54 +01:00
parent 6f15554af3
commit 2868dcbe2b
4 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@
#define __EIGEN3_EIGENVALUES_C_API_CC__
/* Eigen gives annoying huge amount of warnings here, silence them! */
#ifdef __GNUC__
#if defined(__GNUC__) && !defined(__clang__)
# pragma GCC diagnostic ignored "-Wlogical-op"
#endif

View File

@@ -28,7 +28,7 @@
#define __EIGEN3_SVD_C_API_CC__
/* Eigen gives annoying huge amount of warnings here, silence them! */
#ifdef __GNUC__
#if defined(__GNUC__) && !defined(__clang__)
# pragma GCC diagnostic ignored "-Wlogical-op"
#endif