Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #ifdef EIGEN_WARNINGS_DISABLED_2
0002 // "DisableStupidWarnings.h" was included twice recursively: Do not reenable warnings yet!
0003 #  undef EIGEN_WARNINGS_DISABLED_2
0004 
0005 #elif defined(EIGEN_WARNINGS_DISABLED)
0006 #undef EIGEN_WARNINGS_DISABLED
0007 
0008 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
0009   #ifdef _MSC_VER
0010     #pragma warning( pop )
0011   #elif defined __INTEL_COMPILER
0012     #pragma warning pop
0013   #elif defined __clang__
0014     #pragma clang diagnostic pop
0015   #elif defined __GNUC__  &&  (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
0016     #pragma GCC diagnostic pop
0017   #endif
0018 
0019   #if defined __NVCC__
0020 //    Don't reenable the diagnostic messages, as it turns out these messages need
0021 //    to be disabled at the point of the template instantiation (i.e the user code)
0022 //    otherwise they'll be triggered by nvcc.
0023 //    #pragma diag_default code_is_unreachable
0024 //    #pragma diag_default initialization_not_reachable
0025 //    #pragma diag_default 2651
0026 //    #pragma diag_default 2653
0027   #endif
0028 
0029 #endif
0030 
0031 #endif // EIGEN_WARNINGS_DISABLED