Eigen  3.4.90 (git rev 5a9f66fb35d03a4da9ef8976e67a61b30aa16dcf)
 
Loading...
Searching...
No Matches
ReenableStupidWarnings.h
1#ifdef EIGEN_WARNINGS_DISABLED_2
2// "DisableStupidWarnings.h" was included twice recursively: Do not re-enable warnings yet!
3#undef EIGEN_WARNINGS_DISABLED_2
4
5#elif defined(EIGEN_WARNINGS_DISABLED)
6#undef EIGEN_WARNINGS_DISABLED
7
8#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
9#ifdef _MSC_VER
10#pragma warning(pop)
11#ifdef EIGEN_REENABLE_CXX23_DENORM_DEPRECATION_WARNING
12#undef EIGEN_REENABLE_CXX23_DENORM_DEPRECATION_WARNING
13#undef _SILENCE_CXX23_DENORM_DEPRECATION_WARNING
14#endif
15
16#elif defined __INTEL_COMPILER
17#pragma warning pop
18#elif defined __clang__
19#pragma clang diagnostic pop
20#elif defined __GNUC__ && !defined(__FUJITSU) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
21#pragma GCC diagnostic pop
22#endif
23
24#if defined __NVCC__
25// Don't re-enable the diagnostic messages, as it turns out these messages need
26// to be disabled at the point of the template instantiation (i.e the user code)
27// otherwise they'll be triggered by nvcc.
28// #define EIGEN_MAKE_PRAGMA(X) _Pragma(#X)
29// #if __NVCC_DIAG_PRAGMA_SUPPORT__
30// #define EIGEN_NV_DIAG_DEFAULT(X) EIGEN_MAKE_PRAGMA(nv_diag_default X)
31// #else
32// #define EIGEN_NV_DIAG_DEFAULT(X) EIGEN_MAKE_PRAGMA(diag_default X)
33// #endif
34// EIGEN_NV_DIAG_DEFAULT(code_is_unreachable)
35// EIGEN_NV_DIAG_DEFAULT(initialization_not_reachable)
36// EIGEN_NV_DIAG_DEFAULT(2651)
37// EIGEN_NV_DIAG_DEFAULT(2653)
38// #undef EIGEN_NV_DIAG_DEFAULT
39// #undef EIGEN_MAKE_PRAGMA
40#endif
41
42#endif
43
44#endif // EIGEN_WARNINGS_DISABLED