Warning, file /include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef EIGEN_WARNINGS_DISABLED
0002 #define EIGEN_WARNINGS_DISABLED
0003
0004 #ifdef _MSC_VER
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
0020 #pragma warning( push )
0021 #endif
0022 #pragma warning( disable : 4100 4101 4181 4211 4244 4273 4324 4503 4512 4522 4700 4714 4717 4800)
0023
0024 #elif defined __INTEL_COMPILER
0025
0026
0027
0028
0029
0030
0031
0032 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
0033 #pragma warning push
0034 #endif
0035 #pragma warning disable 2196 279 1684 2259
0036
0037 #elif defined __clang__
0038
0039
0040 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
0041 #pragma clang diagnostic push
0042 #endif
0043 #pragma clang diagnostic ignored "-Wconstant-logical-operand"
0044 #if __clang_major__ >= 3 && __clang_minor__ >= 5
0045 #pragma clang diagnostic ignored "-Wabsolute-value"
0046 #endif
0047 #if __clang_major__ >= 10
0048 #pragma clang diagnostic ignored "-Wimplicit-int-float-conversion"
0049 #endif
0050 #if ( defined(__ALTIVEC__) || defined(__VSX__) ) && __cplusplus < 201103L
0051
0052
0053 #pragma clang diagnostic ignored "-Wc11-extensions"
0054 #endif
0055
0056 #elif defined __GNUC__
0057
0058 #if (!defined(EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS)) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
0059 #pragma GCC diagnostic push
0060 #endif
0061
0062 #pragma GCC diagnostic ignored "-Wshadow"
0063 #if __GNUC__ == 4 && __GNUC_MINOR__ < 8
0064
0065 #pragma GCC diagnostic ignored "-Wtype-limits"
0066 #endif
0067 #if __GNUC__>=6
0068 #pragma GCC diagnostic ignored "-Wignored-attributes"
0069 #endif
0070 #if __GNUC__==7
0071
0072 #pragma GCC diagnostic ignored "-Wattributes"
0073 #endif
0074 #endif
0075
0076 #if defined __NVCC__
0077 #pragma diag_suppress boolean_controlling_expr_is_constant
0078
0079 #pragma diag_suppress code_is_unreachable
0080
0081 #pragma diag_suppress initialization_not_reachable
0082
0083 #pragma diag_suppress 1222
0084
0085 #pragma diag_suppress 2527
0086 #pragma diag_suppress 2529
0087 #pragma diag_suppress 2651
0088 #pragma diag_suppress 2653
0089 #pragma diag_suppress 2668
0090 #pragma diag_suppress 2669
0091 #pragma diag_suppress 2670
0092 #pragma diag_suppress 2671
0093 #pragma diag_suppress 2735
0094 #pragma diag_suppress 2737
0095 #pragma diag_suppress 2739
0096 #endif
0097
0098 #else
0099
0100 # ifndef EIGEN_WARNINGS_DISABLED_2
0101 # define EIGEN_WARNINGS_DISABLED_2
0102 # elif defined(EIGEN_INTERNAL_DEBUGGING)
0103 # error "Do not include \"DisableStupidWarnings.h\" recursively more than twice!"
0104 # endif
0105
0106 #endif