summaryrefslogtreecommitdiff
path: root/stdcpp.h
diff options
context:
space:
mode:
authornoloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2015-07-14 02:57:13 +0000
committernoloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2015-07-14 02:57:13 +0000
commit51dd45a78501d37d02fea9ffa504d2e609ad8672 (patch)
tree79997d63ec3bcfc521fbc6b058d6405c90884787 /stdcpp.h
parent47e5a4d4ea89c7f236bfc55df01c052efc3059e1 (diff)
downloadcryptopp-51dd45a78501d37d02fea9ffa504d2e609ad8672.tar.gz
Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to vectorization and alignment violations agains the vmovdqa instruction
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@583 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'stdcpp.h')
-rw-r--r--stdcpp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdcpp.h b/stdcpp.h
index 6511c4f..619cc03 100644
--- a/stdcpp.h
+++ b/stdcpp.h
@@ -19,6 +19,10 @@
#include <map>
#include <vector>
+#if !defined(_NDEBUG) && !defined(NDEBUG)
+# include <cassert>
+#endif
+
#ifdef CRYPTOPP_INCLUDE_VECTOR_CC
// workaround needed on Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
#include <vector.cc>