1 #ifndef EIGEN_WARNINGS_DISABLED
2 #define EIGEN_WARNINGS_DISABLED
18 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
19 #pragma warning( push )
21 #pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4503 4512 4522 4700 4717 )
22 #elif defined __INTEL_COMPILER
30 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
33 #pragma warning disable 2196 279 1684 2259
34 #elif defined __clang__
37 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
38 #pragma clang diagnostic push
40 #pragma clang diagnostic ignored "-Wconstant-logical-operand"
43 #endif // not EIGEN_WARNINGS_DISABLED