diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-08-20 08:24:12 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-08-20 08:24:12 -0400 |
commit | c24f17b7a26b8dd5939bced64652d3b749b26a5e (patch) | |
tree | 52468b2581789d926a807c408e750e8f7c30d8e6 /gcm.cpp | |
parent | 3e9a5f17d282df730d503ec81b3c0d36fbfe04e1 (diff) | |
download | cryptopp-git-c24f17b7a26b8dd5939bced64652d3b749b26a5e.tar.gz |
Fix compiler crash in Visual Studio .Net (2002 and 2003)
Diffstat (limited to 'gcm.cpp')
-rw-r--r-- | gcm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -19,6 +19,11 @@ # undef CRYPTOPP_SSE2_ASM_AVAILABLE
#endif
+// Visual Studio .Net 2003 compiler crash
+#if defined(_MSC_VER) && (_MSC_VER < 1400)
+# pragma optimize("", off)
+#endif
+
#include "gcm.h"
#include "cpu.h"
|