diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-04-24 01:51:39 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-04-24 01:51:39 -0400 |
| commit | 87d81372a9dfaca6dca4472cca4df61a3f4fd02b (patch) | |
| tree | 5d2ce059c5ea53dab062b8432add17c48b029105 /test.cpp | |
| parent | 02c20bbaec7bb9e73162ed07d2b694122a14a454 (diff) | |
| download | cryptopp-git-87d81372a9dfaca6dca4472cca4df61a3f4fd02b.tar.gz | |
Quiet deprecated warning on some library source files. The warning is intended to help users, not the library
Diffstat (limited to 'test.cpp')
| -rw-r--r-- | test.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -63,6 +63,15 @@ # pragma strict_gs_check (on)
#endif
+// Quiet deprecated warnings intended to benefit users.
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(disable: 4996)
+#endif
+
+#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
USING_NAMESPACE(CryptoPP)
USING_NAMESPACE(std)
|
