From dea8da24bbbc21ff525323872c1ffe64d9f484a9 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 6 Mar 2017 17:44:24 +0000 Subject: [PATCH] Core: MSC compile fix with GDAL git-svn-id: svn://ultimatepp.org/upp/trunk@10907 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Core.h | 6 ++++++ uppsrc/Core/config.h | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) 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