Eigen  3.3.3
ReenableStupidWarnings.h
00001 #ifdef EIGEN_WARNINGS_DISABLED
00002 #undef EIGEN_WARNINGS_DISABLED
00003 
00004 #ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
00005   #ifdef _MSC_VER
00006     #pragma warning( pop )
00007   #elif defined __INTEL_COMPILER
00008     #pragma warning pop
00009   #elif defined __clang__
00010     #pragma clang diagnostic pop
00011   #elif defined __GNUC__ && __GNUC__>=6
00012     #pragma GCC diagnostic pop
00013   #endif
00014 
00015   #if defined __NVCC__
00016 //    Don't reenable the diagnostic messages, as it turns out these messages need
00017 //    to be disabled at the point of the template instantiation (i.e the user code)
00018 //    otherwise they'll be triggered by nvcc.
00019 //    #pragma diag_default code_is_unreachable
00020 //    #pragma diag_default initialization_not_reachable
00021 //    #pragma diag_default 2651
00022 //    #pragma diag_default 2653
00023   #endif
00024 
00025 #endif
00026 
00027 #endif // EIGEN_WARNINGS_DISABLED
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends