diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-05-26 10:48:43 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-05-26 10:48:43 +0200 |
commit | 40e4637d795343ad36014201845a59dfa70582a8 (patch) | |
tree | ec6b2a30dfbdbc0f98f8d3dd9328059034d8e367 /Eigen/src/Core/util/Meta.h | |
parent | cc1ab64f29fa76a19954a3827acd95bc056ec33b (diff) |
Turn off ICC's conversion warning in is_convertible implementation
Diffstat (limited to 'Eigen/src/Core/util/Meta.h')
-rw-r--r-- | Eigen/src/Core/util/Meta.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index 1212f0cd3..1bb6a6ed6 100644 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -115,7 +115,14 @@ private: public: static From ms_from; +#ifdef __INTEL_COMPILER + #pragma warning push + #pragma warning ( disable : 2259 ) +#endif enum { value = sizeof(test(ms_from, 0))==sizeof(yes) }; +#ifdef __INTEL_COMPILER + #pragma warning pop +#endif }; template<typename From, typename To> |