diff --git a/uppsrc/Core/Core.h b/uppsrc/Core/Core.h index a2438791a..aa2d32776 100644 --- a/uppsrc/Core/Core.h +++ b/uppsrc/Core/Core.h @@ -45,6 +45,12 @@ #error This version of U++ REQUIRES C++11 #endif +#ifdef _MSC_VER + #ifndef _CPPRTTI + #error RTTI must be enabled !!! + #endif //_CPPRTTI +#endif + #include #include #include diff --git a/uppsrc/Core/config.h b/uppsrc/Core/config.h index 9e8f7b0da..60272d9e4 100644 --- a/uppsrc/Core/config.h +++ b/uppsrc/Core/config.h @@ -116,9 +116,6 @@ #ifdef _MSC_VER #define COMPILER_MSC 1 - #ifndef _CPPRTTI - #error RTTI must be enabled !!! - #endif //_CPPRTTI #if _MSC_VER <= 1300 #error MSC 6.0 not supported anymore #endif