Commit Graph

790 Commits (48187e4fe6d4b12f05eae0250f7368e14fc9d448)

Author SHA1 Message Date
Jeffrey Walton 48187e4fe6 Updated intstall.txt to include a Build section and Install section 2015-07-28 18:48:47 -04:00
Jeffrey Walton e79ae73295 Finished alloca cleanup under the BSDs 2015-07-28 18:18:56 -04:00
Jeffrey Walton 697ccb452b Issue 19 and comments on the 05076dbd 2015-07-28 18:00:19 -04:00
Jeffrey Walton cffba26fa1 Fixed compiler error under OpenBSD for missing "alloca" 2015-07-27 19:43:43 -04:00
Jeffrey Walton 185a2c8e83 Used pragmas to disable the deprecated warnings under Visual Studio rather than _WINSOCK_DEPRECATED_NO_WARNINGS. Using _WINSOCK_DEPRECATED_NO_WARNINGS could cross-pollintae out of the library and into user code 2015-07-27 19:05:53 -04:00
Jeffrey Walton 383d9636a8 Defined out the stuff that cross-polinated during testing 2015-07-27 19:03:14 -04:00
Jeffrey Walton 05076dbdea _WINSOCK_DEPRECATED_NO_WARNINGS was defined before including Winsock gear to avoid the warnings and the rewrite. Being tracked at GitHub, Issue 19, https://github.com/weidai11/cryptopp/issues/19 2015-07-27 18:05:08 -04:00
Jeffrey Walton d76a974625 Added guard based on std::uncaught_exception so the class does not throw in an exception handler 2015-07-27 17:26:45 -04:00
Jeffrey Walton 836cf237cf Fixed compile error due to MS using _MSC_VER rather than __cplusplus 2015-07-27 16:46:25 -04:00
Jeffrey Walton 25cc4c2db1 Fixed compile error on MinGW due to including <alloca.h> 2015-07-27 16:36:05 -04:00
Jeffrey Walton ab33799f5a Added missing <limits> for MinGW compile 2015-07-27 16:18:43 -04:00
Jeffrey Walton 69afee37b0 Fixed compiler error due to reversing ifdef and ifdef for CRYPTOPP_UNIX_AVAILABLE 2015-07-27 16:15:46 -04:00
Jeffrey Walton 6cf9b6e081 Updated comment on reason for the gyrations when including <memory> 2015-07-27 16:10:20 -04:00
Jeffrey Walton 03f36f8655 Placed guards on <alloca.> include 2015-07-27 16:07:46 -04:00
Jeffrey Walton ef318d5423 Fixed compiler errors on Apple due to cross product of {C++03,C++11} x {libc++, libstdc++}. It included bringing in the correct <memory> in <stdcpp.h>, and then only including <stdcpp.h> when <memory> was needed. 2015-07-27 16:01:55 -04:00
Jeffrey Walton 418dd2a870 Fixed #error left in header that was used for testing 2015-07-27 14:44:55 -04:00
Jeffrey Walton 8dd3a77e11 Fixed compiler error " error: missing binary operator before token 'defined'" 2015-07-27 14:43:18 -04:00
Jeffrey Walton 23d28aa123 Fixed complier error "error: missing ')' after 'defined'" 2015-07-27 14:41:13 -04:00
Jeffrey Walton c42947e19b Rearranged includes for consistency after testing 2015-07-27 13:03:18 -04:00
Jeffrey Walton efcc05e615 Fixed compiler error "exception specification in declaration does not match previous declaration" under Clang 2015-07-27 12:45:22 -04:00
Jeffrey Walton 5eff653a54 Added guard and specialization for APple with and without "-std=c++11" 2015-07-27 12:40:06 -04:00
Jeffrey Walton e40ff65269 Fixed spelling error: __cpluplus → __cplusplus 2015-07-27 09:40:36 -04:00
Jeffrey Walton 6b2129afb3 Added "include <alloca.h>" due to compile failure on Cygwin 2015-07-27 02:06:11 -04:00
Jeffrey Walton 69098d8cf2 Added "include <cryptlib.h>" due to Cygwin not picking up the CRYPTOPP_CXX11 define 2015-07-27 01:35:45 -04:00
Jeffrey Walton 66ff5e14f1 Improved GCC test by adding "__GNUC__ >= 5" 2015-07-27 01:32:10 -04:00
Jeffrey Walton f8fc7562f1 Added TODO message on the throw dtors 2015-07-27 01:22:41 -04:00
Jeffrey Walton 9533f52714 Added CRYPTOPP_THROW to ThreadLocalStorage dtor 2015-07-27 01:19:27 -04:00
Jeffrey Walton bd3a67034d Cleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect 2015-07-27 01:07:55 -04:00
Jeffrey Walton 9de95b4400 Cleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect 2015-07-27 00:37:22 -04:00
Jeffrey Walton f017391174 Cleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect 2015-07-27 00:28:05 -04:00
Jeffrey Walton 23f59f6b28 Added tests for Intel compilers. Tightened tests on GCC since the others claim to be GCC, but fail to compile programs that GCC can compile 2015-07-27 00:17:41 -04:00
Jeffrey Walton cebf5906a9 Added "-Wcast-align" when CRYPTOPP_NO_UNALIGNED_DATA_ACCESS is in effect. Commented out at the moment because its very noisy 2015-07-26 23:47:46 -04:00
Jeffrey Walton 8e868bf2e5 Tuned preprocessor tests. Added CRYPTOPP_THROW to AlgorithmParametersBase 2015-07-26 21:57:10 -04:00
Jeffrey Walton 46edae68a5 Added C++11 R-value and noexcept feature detection 2015-07-26 20:36:24 -04:00
Jeffrey Walton 8ea014437c Added additional information 2015-07-26 17:33:07 -04:00
Jeffrey Walton 378461b525 Cleared compiler error when compiling with "-DDEBUG" 2015-07-26 16:28:04 -04:00
Jeffrey Walton b7de164d62 Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
Jeffrey Walton 7b64ca489a Added "trap.h" include for header and source files that assert 2015-07-26 15:51:16 -04:00
Jeffrey Walton f4a584da6e Added comment about test.cpp and DebugTrapHandler for example code 2015-07-26 15:26:47 -04:00
Jeffrey Walton 30b706316b Cleared "signed/unsigned" warning introduced by 1997c21b37 under GCC. The ultimate fix is to guard the std::streamsize specialization to ensure Microsoft compilers don't see it 2015-07-26 13:56:45 -04:00
Jeffrey Walton fedd08f15c Cleared compiler error due to use of "LARGE_INTEGER freq = { .QuadPart = 0 };". 32-bit and 64-bit compilers accept "{ {0,0} }". Note the original code was OK, and we were probably woking around a GCC issue 2015-07-26 13:50:16 -04:00
Jeffrey Walton 5db65c051b Cleared "conversion from 'const int' to 'CryptoPP::word16'" under MSVC 2015-07-26 12:52:13 -04:00
Jeffrey Walton 5eefa99e68 Cleared truncation warning under MSVC 2015-07-26 12:01:57 -04:00
Jeffrey Walton 1997c21b37 Cleared "explicit specialization has already been defined" under MSVC and Visual Studio 2015 2015-07-26 11:27:36 -04:00
Jeffrey Walton 5ab200bb68 Added Install.txt to 'make dist' recipe 2015-07-26 02:33:46 -04:00
Jeffrey Walton 10ef75bc69 Added info on licensing information 2015-07-26 02:31:00 -04:00
Jeffrey Walton be5f44abb8 Added "algorithms and schemes" 2015-07-26 02:29:24 -04:00
Jeffrey Walton 7f9af128cc Added info on CRYPTOPP_NO_UNALIGNED_DATA_ACCESS in config.h 2015-07-26 02:28:48 -04:00
Jeffrey Walton 805df006b1 Added info on where to report problems 2015-07-26 02:18:22 -04:00
Jeffrey Walton 534aa3c665 Added Install.txt 2015-07-26 02:16:34 -04:00