From 5720c3b5b07479d89fbd9175bc4f323d49ff5ccd Mon Sep 17 00:00:00 2001 From: Ladislav Date: Sat, 12 Apr 2014 15:57:38 +0200 Subject: + Removed deprecated stuff --- src/StormPort.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/StormPort.h') diff --git a/src/StormPort.h b/src/StormPort.h index 902b785..37fbad0 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -263,6 +263,7 @@ //----------------------------------------------------------------------------- // Macro for deprecated symbols +/* #ifdef _MSC_VER #if _MSC_FULL_VER >= 140050320 #define STORMLIB_DEPRECATED(_Text) __declspec(deprecated(_Text)) @@ -280,9 +281,10 @@ // When a flag is deprecated, use this macro #ifndef _STORMLIB_NO_DEPRECATE #define STORMLIB_DEPRECATED_FLAG(type, oldflag, newflag) \ - const STORMLIB_DEPRECATED(#oldflag " is deprecated. Use " #newflag ". To supress this warning, define _STORMLIB_NO_DEPRECATE") type oldflag = (type)newflag; + const STORMLIB_DEPRECATED(#oldflag " is deprecated. Use " #newflag ". To supress this warning, define _STORMLIB_NO_DEPRECATE") static type oldflag = (type)newflag; #else - #define STORMLIB_DEPRECATED_FLAG(type, oldflag, newflag) const type oldflag = (type)newflag; +#define STORMLIB_DEPRECATED_FLAG(type, oldflag, newflag) static type oldflag = (type)newflag; #endif +*/ #endif // __STORMPORT_H__ -- cgit v1.2.3