|
@@ -54,7 +54,7 @@
|
|
#ifdef _MSC_VER
|
|
#ifdef _MSC_VER
|
|
#define PRAGMA_WARN_PUSH __pragma(warning(push))
|
|
#define PRAGMA_WARN_PUSH __pragma(warning(push))
|
|
#define PRAGMA_WARN_POP __pragma(warning(pop))
|
|
#define PRAGMA_WARN_POP __pragma(warning(pop))
|
|
-#define PRAGMA_WARN_DEPRECATION
|
|
|
|
|
|
+#define PRAGMA_WARN_DEPRECATION __pragma(warning(disable : 4996))
|
|
#elif defined(__clang__)
|
|
#elif defined(__clang__)
|
|
#define PRAGMA_WARN_PUSH _Pragma("clang diagnostic push")
|
|
#define PRAGMA_WARN_PUSH _Pragma("clang diagnostic push")
|
|
#define PRAGMA_WARN_POP _Pragma("clang diagnostic pop")
|
|
#define PRAGMA_WARN_POP _Pragma("clang diagnostic pop")
|