Go to the documentation of this file. 1 #ifndef EIGEN_WARNINGS_DISABLED
2 #define EIGEN_WARNINGS_DISABLED
19 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
20 #pragma warning( push )
22 #pragma warning( disable : 4100 4101 4181 4211 4244 4273 4324 4503 4512 4522 4700 4714 4717 4800)
24 #elif defined __INTEL_COMPILER
32 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
35 #pragma warning disable 2196 279 1684 2259
37 #elif defined __clang__
40 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
41 #pragma clang diagnostic push
43 #pragma clang diagnostic ignored "-Wconstant-logical-operand"
44 #if __clang_major__ >= 3 && __clang_minor__ >= 5
45 #pragma clang diagnostic ignored "-Wabsolute-value"
47 #if __clang_major__ >= 10
48 #pragma clang diagnostic ignored "-Wimplicit-int-float-conversion"
50 #if ( defined(__ALTIVEC__) || defined(__VSX__) ) && __cplusplus < 201103L
53 #pragma clang diagnostic ignored "-Wc11-extensions"
56 #elif defined __GNUC__
58 #if (!defined(EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS)) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
59 #pragma GCC diagnostic push
62 #pragma GCC diagnostic ignored "-Wshadow"
63 #if __GNUC__ == 4 && __GNUC_MINOR__ < 8
65 #pragma GCC diagnostic ignored "-Wtype-limits"
68 #pragma GCC diagnostic ignored "-Wignored-attributes"
72 #pragma GCC diagnostic ignored "-Wattributes"
77 #pragma diag_suppress boolean_controlling_expr_is_constant
79 #pragma diag_suppress code_is_unreachable
81 #pragma diag_suppress initialization_not_reachable
83 #pragma diag_suppress 1222
85 #pragma diag_suppress 2527
86 #pragma diag_suppress 2529
87 #pragma diag_suppress 2651
88 #pragma diag_suppress 2653
89 #pragma diag_suppress 2668
90 #pragma diag_suppress 2669
91 #pragma diag_suppress 2670
92 #pragma diag_suppress 2671
93 #pragma diag_suppress 2735
94 #pragma diag_suppress 2737
95 #pragma diag_suppress 2739
100 # ifndef EIGEN_WARNINGS_DISABLED_2
101 # define EIGEN_WARNINGS_DISABLED_2
102 # elif defined(EIGEN_INTERNAL_DEBUGGING)
103 # error "Do not include \"DisableStupidWarnings.h\" recursively more than twice!"
106 #endif // not EIGEN_WARNINGS_DISABLED
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:13