1 #ifndef EIGEN_WARNINGS_DISABLED 2 #define EIGEN_WARNINGS_DISABLED 17 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS 18 #pragma warning( push ) 20 #pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4512 4522 4700 4717 ) 21 #elif defined __INTEL_COMPILER 27 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS 30 #pragma warning disable 2196 279 31 #elif defined __clang__ 34 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS 35 #pragma clang diagnostic push 37 #pragma clang diagnostic ignored "-Wconstant-logical-operand" 40 #endif // not EIGEN_WARNINGS_DISABLED