summaryrefslogtreecommitdiff
path: root/stdcpp.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup Windows build after refactoringJeffrey Walton2023-04-151-1/+1
|
* Use std namespace for memset, memcpy, memcmp (#1204)Jeffrey Walton2023-04-151-1/+1
|
* Use CRYPTOPP_CXX11_ATOMIC defineJeffrey Walton2020-08-061-1/+1
|
* Guard use of <cstddef> for Microsoft compilers (GH #781)Jeffrey Walton2019-02-041-1/+8
|
* Guard use of _debug_memset with __DEBUG_ALLOC__Jeffrey Walton2018-11-211-2/+4
| | | | This is engaged with IBM XLC's -qheapdebug option
* Add debug heap support on AIX with IBM XLCJeffrey Walton2018-11-211-1/+9
|
* Fix older Solaris and SunCC compileJeffrey Walton2018-07-211-3/+11
| | | | Found during testing on OpenCSW compile farm on Solaris 9 (host unstable9s)
* Add sbyte, sword16, sword32 and sword64 (GH #608, GH #609)Jeffrey Walton2018-03-271-1/+0
| | | | Visual Studio 2008 kind of forced out hand with this. VS2008 lacks <stdint.h> and <cstdint> and it caused compile problems in NaCl gear. We were being a tad bit lazy by relying on int8_t, int32_t and int64_t, but the compiler errors made us act
* Fix VS2010 and "error C2065: uint32_t: undeclared identifier" (GH #608)Jeffrey Walton2018-03-271-0/+1
| | | | We could fix aria.cpp by using word32. However, NaCl gear uses int64_t and we don't have a typedef setup for it. So we will need <cstdint> later for NaCl
* Update documentationJeffrey Walton2018-01-231-0/+5
|
* Change ::log() to log() to work with C++Builder (#552)Tanzinul Islam2017-12-301-0/+6
| | | As reported in #520, C++Builder standard libraries don't have a `log()` function at global namespace. Change the invocations to unqualified name lookup, and apply a using-declaration to `std::log()` when compiling under C++Builder.
* Add "stdcpp.h" to bench1.cpp and bench2.cpp (GH #520)Jeffrey Walton2017-10-121-0/+1
| | | | This is the first of possibly two or three for Borland compilers. We have to be careful because its very easy to break something due to math overloads with other compilers like SunCC or XL/C
* Remove unneeded alloca headerJeffrey Walton2017-03-081-9/+0
|
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-7/+0
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* Fix Cygwin compile due to missing <signal.h>Jeffrey Walton2016-10-011-0/+4
|
* Clear warnings under Visual Studio 2012Jeffrey Walton2016-10-011-13/+13
|
* Fix compile under Visual Studio 2008Jeffrey Walton2016-10-011-2/+2
|
* Fix compile under Visual Studio 2003Jeffrey Walton2016-10-011-1/+3
|
* Cutover to SecByteBlock member for AES (Issue 302, CVE-2016-7544)Jeffrey Walton2016-09-301-1/+5
|
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-1/+1
| | | | trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
* Merge Atomics branch into MasterJeffrey Walton2016-06-061-0/+4
|
* Add changes for Windows Sotre that went missing with my clumsy Git skillsJeffrey Walton2016-05-091-0/+4
|
* Fix Visual Studio compilation with _HAS_EXCEPTIONS=0 (more concrete define ↵a.navrotskiy2016-04-061-7/+7
| | | | and better workaround place)
* Fix Visual Studio compilation with _HAS_EXCEPTIONS=0a.navrotskiy2016-04-051-0/+7
| | | | | | | | | | | | | | | | | | | | Bug information: https://connect.microsoft.com/VisualStudio/feedback/details/1600701/type-info-does-not-compile-with-has-exceptions-0 For example: ``` C:\Work\github\cryptopp>cl /c /Tp cryptlib.h /Focryptlib.h.obj /D_HAS_EXCEPTIONS=0 Microsoft (R) C/C++ Optimizing Compiler Version 18.00.31101 for x86 Copyright (C) Microsoft Corporation. All rights reserved. sha.h c:\work\github\cryptopp\cryptlib.h(292) : error C2039: 'type_info' : is not a member of 'std' c:\work\github\cryptopp\cryptlib.h(298) : error C2039: 'type_info' : is not a member of 'std' c:\work\github\cryptopp\cryptlib.h(302) : error C2039: 'type_info' : is not a member of 'std' c:\work\github\cryptopp\cryptlib.h(305) : error C2039: 'type_info' : is not a member of 'std' c:\work\github\cryptopp\cryptlib.h(306) : error C2039: 'type_info' : is not a member of 'std' c:\work\github\cryptopp\cryptlib.h(392) : error C2039: 'type_info' : is not a member of 'std' c:\work\github\cryptopp\cryptlib.h(437) : error C2039: 'type_info' : is not a member of 'std' ```
* Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵Jeffrey Walton2015-11-181-18/+8
| | | | (Coverity rollup)
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-56/+65
|
* Removed "include <assert.h>" from files. Its now handled by "trap.h"Jeffrey Walton2015-08-031-1/+0
|
* Added Microsoft compilers under <utility> guardJeffrey Walton2015-07-311-2/+2
|
* Added <utility> based on C++11 for R-values and std::moveJeffrey Walton2015-07-311-0/+5
|
* Cleaned up tests for OS X, TR1 names spaces and ancient versus modern ↵Jeffrey Walton2015-07-291-16/+5
| | | | libstdc++ and libc++. Thanks to Jonathan Wakely for devising the clever test
* Finished alloca cleanup under the BSDsJeffrey Walton2015-07-281-13/+4
|
* Fixed compiler error under OpenBSD for missing "alloca"Jeffrey Walton2015-07-271-7/+8
|
* Fixed compile error due to MS using _MSC_VER rather than __cplusplusJeffrey Walton2015-07-271-1/+3
|
* Fixed compile error on MinGW due to including <alloca.h>Jeffrey Walton2015-07-271-1/+1
|
* Added missing <limits> for MinGW compileJeffrey Walton2015-07-271-0/+1
|
* Fixed compiler error due to reversing ifdef and ifdef for ↵Jeffrey Walton2015-07-271-2/+2
| | | | CRYPTOPP_UNIX_AVAILABLE
* Updated comment on reason for the gyrations when including <memory>Jeffrey Walton2015-07-271-3/+2
|
* Placed guards on <alloca.> includeJeffrey Walton2015-07-271-3/+6
|
* Fixed compiler errors on Apple due to cross product of {C++03,C++11} x ↵Jeffrey Walton2015-07-271-10/+31
| | | | {libc++, libstdc++}. It included bringing in the correct <memory> in <stdcpp.h>, and then only including <stdcpp.h> when <memory> was needed.
* Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to ↵Jeffrey Walton2015-07-131-0/+4
| | | | vectorization and alignment violations agains the vmovdqa instruction
* fix compile with Sun CC on Linuxweidai2010-08-081-1/+1
|
* fix build of dlltest project on MSVC 2008weidai2010-07-241-1/+6
| | | | fix compile on C++Builder 2010
* port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21weidai2010-07-051-1/+1
|
* port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21weidai2010-07-051-0/+5
| | | | change makefile to compile for both i386 and x86_64 on Darwin/Mac OS X
* fix possible race condition in Singleton::Ref()weidai2010-06-181-7/+11
| | | | | tolerate double destruction of Singleton and g_nullNameValuePairs fix #include of standard headers
* remove <locale> (should save code size?)weidai2007-09-241-1/+0
|
* misc changesweidai2003-07-181-2/+0
|
* fix GCC compileweidai2003-07-111-1/+0
|
* create DLL version, fix GetNextIV() bug in CTR and OFB modesweidai2003-07-041-0/+31