Commit Graph

23 Commits

Author SHA1 Message Date
Jeffrey Walton
24047196b1 Cleaned up code to tame the optimizer in smart_ptr and member_ptr. It should work on all platforms 2015-08-02 02:11:46 -04:00
Jeffrey Walton
b44546be11 Revert "Hid inline assembly behind a macro". The MEMORY_BARRIER code is OK, and the use of inline assembly code is OK to tame the optimizer is OK; but its confusing because the interactions are not readily apparent. 2015-08-01 19:00:31 -04:00
Jeffrey Walton
390d27b6cd Hid inline assembly behind a macro 2015-08-01 18:02:03 -04:00
Jeffrey Walton
b1085b7384 Changed Cygwin to use -O2 instead of -O3 with GCC 4.9 due to crash 2015-07-31 10:22:15 -04:00
Jeffrey Walton
5f2c32af37 Cut-over to inline assembly to tame the optimizer 2015-07-31 10:05:14 -04:00
Jeffrey Walton
79ec88f5a6 Fixed optimize string under GCC 2015-07-31 09:52:23 -04:00
Jeffrey Walton
52b7fbbca6 Template type aliases compiled under Visual Studio 2015 (v19.00); and not VS2010 or VS2012. We have a winner... 2015-07-30 15:53:01 -04:00
Jeffrey Walton
17fd66f2ff Visual Studio 2010 (v16.00) does not accept the template type alias. Bump to VS2012 (v17.00). Lather, rinse, repeat until we determine when... 2015-07-30 13:43:55 -04:00
Jeffrey Walton
77206baf56 Whitespace checkin 2015-07-30 13:07:33 -04:00
Jeffrey Walton
8c63032865 Cleared "name defined in alias declaration must be an identifier" error under LLVM's libc++ and C++11 2015-07-30 11:24:41 -04:00
Jeffrey Walton
5a35640912 Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11 2015-07-30 10:36:49 -04:00
Jeffrey Walton
ae0984b4b1 Cleaned up tests for OS X, TR1 names spaces and ancient versus modern libstdc++ and libc++. Thanks to Jonathan Wakely for devising the clever test 2015-07-29 13:37:52 -04:00
Jeffrey Walton
383d9636a8 Defined out the stuff that cross-polinated during testing 2015-07-27 19:03:14 -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
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
398bda4051 Removed cross-pollination during testing 2015-07-17 10:05:56 -04:00
Jeffrey Walton
c3c9f2f114 Cleared Issue #6. Thanks to Jonathan Wakely for reporting 2015-07-16 00:43:38 -04:00
weidai
d60229a02a fix possible race condition in Singleton::Ref()
tolerate double destruction of Singleton and g_nullNameValuePairs
fix #include of standard headers
2010-06-18 07:06:59 +00:00
weidai
d2510f30c7 fix compile for x64, DLL and VC 6 2007-05-04 15:24:09 +00:00
weidai
f78fccb3cc port to GCC 3.4 2004-06-19 08:28:09 +00:00
weidai
c9f75009a5 misc optimizations 2003-05-16 00:02:31 +00:00
weidai
a3b6ece7ab Initial revision 2002-10-04 17:31:41 +00:00