summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2023-03-02 08:59:15 -0500
committerJeffrey Walton <noloader@gmail.com>2023-03-02 08:59:15 -0500
commita21bab3255dd3c7708d8af4cc065e3e2464db48a (patch)
treea8e1a75c27dd568d97887098b9e314eada74f46b
parentc364032d4c9e025704cf7caf379e8880ad87a59a (diff)
downloadcryptopp-git-a21bab3255dd3c7708d8af4cc065e3e2464db48a.tar.gz
Fix MSC version numbers (GH #1185)
-rw-r--r--config_int.h4
-rw-r--r--cryptlib.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/config_int.h b/config_int.h
index d71c08ef..a10fc0b4 100644
--- a/config_int.h
+++ b/config_int.h
@@ -29,11 +29,11 @@
#include "config_ver.h"
#include "config_misc.h"
-// C5264 new for VS2022/v17.4, MSC v14.34
+// C5264 new for VS2022/v17.4, MSC v17.3.4
// https://github.com/weidai11/cryptopp/issues/1185
#if (CRYPTOPP_MSC_VERSION)
# pragma warning(push)
-# if (CRYPTOPP_MSC_VERSION >= 1434)
+# if (CRYPTOPP_MSC_VERSION >= 1933)
# pragma warning(disable: 5264)
# endif
#endif
diff --git a/cryptlib.h b/cryptlib.h
index a528b780..3e07e860 100644
--- a/cryptlib.h
+++ b/cryptlib.h
@@ -106,12 +106,12 @@ and getting us started on the manual.
#include "stdcpp.h"
#include "trap.h"
-// C5264 new for VS2022/v17.4, MSC v14.34
+// C5264 new for VS2022/v17.4, MSC v17.3.4
// https://github.com/weidai11/cryptopp/issues/1185
#if CRYPTOPP_MSC_VERSION
# pragma warning(push)
# pragma warning(disable: 4127 4189 4505 4702)
-# if (CRYPTOPP_MSC_VERSION >= 1434)
+# if (CRYPTOPP_MSC_VERSION >= 1933)
# pragma warning(disable: 5264)
# endif
#endif