f8fc7562f1Added TODO message on the throw dtors
Jeffrey Walton
2015-07-27 01:22:41 -0400
9533f52714Added CRYPTOPP_THROW to ThreadLocalStorage dtor
Jeffrey Walton
2015-07-27 01:19:27 -0400
bd3a67034dCleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect
Jeffrey Walton
2015-07-27 01:07:55 -0400
9de95b4400Cleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect
Jeffrey Walton
2015-07-27 00:37:22 -0400
f017391174Cleared "auto_ptr is deprecated" warning. Switch to unique_ptr when C++11 is in effect
Jeffrey Walton
2015-07-27 00:28:05 -0400
23f59f6b28Added tests for Intel compilers. Tightened tests on GCC since the others claim to be GCC, but fail to compile programs that GCC can compile
Jeffrey Walton
2015-07-27 00:17:41 -0400
cebf5906a9Added "-Wcast-align" when CRYPTOPP_NO_UNALIGNED_DATA_ACCESS is in effect. Commented out at the moment because its very noisy
Jeffrey Walton
2015-07-26 23:47:46 -0400
8ea014437cAdded additional information
Jeffrey Walton
2015-07-26 17:33:07 -0400
378461b525Cleared compiler error when compiling with "-DDEBUG"
Jeffrey Walton
2015-07-26 16:28:04 -0400
b7de164d62Cut-in CRYPTOPP_ASSERT in all remaining header and source files
Jeffrey Walton
2015-07-26 16:03:14 -0400
7b64ca489aAdded "trap.h" include for header and source files that assert
Jeffrey Walton
2015-07-26 15:51:16 -0400
f4a584da6eAdded comment about test.cpp and DebugTrapHandler for example code
Jeffrey Walton
2015-07-26 15:26:47 -0400
30b706316bCleared "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
Jeffrey Walton
2015-07-26 13:56:45 -0400
fedd08f15cCleared 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
Jeffrey Walton
2015-07-26 13:50:16 -0400
5db65c051bCleared "conversion from 'const int' to 'CryptoPP::word16'" under MSVC
Jeffrey Walton
2015-07-26 12:52:13 -0400
5eefa99e68Cleared truncation warning under MSVC
Jeffrey Walton
2015-07-26 12:01:57 -0400
1997c21b37Cleared "explicit specialization has already been defined" under MSVC and Visual Studio 2015
Jeffrey Walton
2015-07-26 11:27:36 -0400
6f4e331cf0Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned)
Jeffrey Walton
2015-07-26 01:23:52 -0400
c109e8dd28Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned)
Jeffrey Walton
2015-07-26 01:17:36 -0400
4d5be2d690Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned)
Jeffrey Walton
2015-07-26 01:14:59 -0400
0be4110fe5Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned)
Jeffrey Walton
2015-07-26 01:09:51 -0400
fe9948e39aMoved IS_MINGW block back under x86
Jeffrey Walton
2015-07-25 09:27:59 -0400
6ac2555052Removed -Oz from symbolize. Moved MinGW libraries down before recipes
Jeffrey Walton
2015-07-25 09:17:26 -0400
d215898465Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW
Jeffrey Walton
2015-07-25 07:23:22 -0400
2c988356a9Revert "Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW".
Jeffrey Walton
2015-07-25 07:19:41 -0400
576749b4bbCleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW
Jeffrey Walton
2015-07-25 07:16:45 -0400
ff8974f1fdFixed variable expansion issue on Cygwin (other shells on on OSes were fine, like Bash and C shell)
Jeffrey Walton
2015-07-25 06:56:38 -0400
e75cb8dd8bBacked out commit 1dc875a44a. MinGW complained "error: 'p0' was not declared in this scope". Thanks to Ilya Bizyaev for reporting
Jeffrey Walton
2015-07-25 06:15:53 -0400
427b45b4e7Added some sane defaults for -g and -O if they are missing from CXXFLAGS
Jeffrey Walton
2015-07-25 05:03:13 -0400
6bdcaefccdAdded test for CRYPTOPP_NO_UNALIGNED_DATA_ACCESS, added warning if its not defined
Jeffrey Walton
2015-07-25 04:23:27 -0400
2e37c25acbRemoved VC 6.0 dummy function parameter that was also used as a template parametr. Cleared 8 "unused paramter" warnings
Jeffrey Walton
2015-07-25 02:21:03 -0400
d3b2c03e4eAdded missing specialization for i386. Added comment on why we were specializing
Jeffrey Walton
2015-07-25 02:06:52 -0400
ac74f8e4dfAdded default flag detection for ARFLAGS. Added MACHINE,SYSTEM,RELEASE variables for overrides. Added *.dylib and *.dll to clean rule. Added *.s and *.ii to clean rule
Jeffrey Walton
2015-07-25 02:04:53 -0400
53eb0f11aaAdded check to guard against self-assignment
Jeffrey Walton
2015-07-25 02:02:41 -0400
3f328922acCleared "Base class ‘class ByteQueue’ should be explicitly initialized in the copy constructor" warning under GCC 5.1 with -Wextra
Jeffrey Walton
2015-07-25 01:13:04 -0400
ed0300b143Cleared "signed/unsigned mismatch" warning under GCC 5.1. The pointer math meant we got a ptrdiff_t back from the expression. Its not clear if we should throw, so an assert was added
Jeffrey Walton
2015-07-25 00:38:34 -0400
81af925716Cleared "Base class ‘class ByteQueue’ should be explicitly initialized in the copy constructor" warning under GCC 5.1 with -Wextra
Jeffrey Walton
2015-07-25 00:03:43 -0400
d6f5ed03bfCleaned up and re-organized the makefile. There are now sections, with some comments calling out what various sections do and the work arounds that are in effect
Jeffrey Walton
2015-07-24 23:08:18 -0400
f4b44dfea8Added trap.h to Visual Studio projects
Jeffrey Walton
2015-07-24 22:46:38 -0400
1160f4163aCleared "unused parameter" warning with GCC 5.1 and -Wextra
Jeffrey Walton
2015-07-23 20:21:17 -0400
6541c7ac72Cleared compile error due to missing include
Jeffrey Walton
2015-07-23 20:15:51 -0400
20e652abbbCleared "unused parameter" warning with GCC 5.1 and -Wextra
Jeffrey Walton
2015-07-23 20:14:15 -0400
db40142116Added -Wno-type-limits for GCC 4.3 and above. Its the GCC equivalent to Clang's -Wno-tautological-compare
Jeffrey Walton
2015-07-23 20:04:30 -0400
35b213c085Cleared "unused parameter" warning with GCC 5.1 and -Wextra
Jeffrey Walton
2015-07-23 19:30:14 -0400
e87857f67dCleared "missing initialization in copy constructor" warning with GCC 5.1 and -Wextra
Jeffrey Walton
2015-07-23 19:17:07 -0400
5bb0e6fd38Cleared "unused variable" warning under GCC 5.1 with -Wall
Jeffrey Walton
2015-07-23 18:44:51 -0400
504ba0ea87Cleared "comparison between signed and unsigned integer" warning in SafeConvert by providing template specializations
Jeffrey Walton
2015-07-23 18:15:29 -0400
3fd7a239f0Backed out Clang integrated assembler changes. LLVM Bug 24232 pushed us over the edge. There is some skeleton code remaining for testing. To activate it, perform "make FORCE_ASM=1"
Jeffrey Walton
2015-07-23 16:47:03 -0400
07e8319478Cleared "unused function" warning when using GCC with -Wall
Jeffrey Walton
2015-07-23 14:21:06 -0400
b2d9be1b80Cleared "unused variable" warning when using CRYPTOPP_STATIC_ASSERT under GCC. The "__attribute__ ((unused)" was present in GCC 2.95, so it will be available for the GCC's we support. Non-GCC's will get the non-decorated assert
Jeffrey Walton
2015-07-23 12:30:13 -0400
929967a042Added CRYTPOPP_ASSERT to cryptest program. The mods also show how to install a debug trap handler such that if CRYPTOPP_ASSERT fires, the program continues
Jeffrey Walton
2015-07-23 10:48:43 -0400
5af5c553e3Added default for strip program. Added additional fodder to distclean recipe
Jeffrey Walton
2015-07-23 08:39:31 -0400
123ca9b76dAdded standard makefile targets, including distclean, dist, install-strip. Removed no-lib recipe because there's a proper dependency rule
Jeffrey Walton
2015-07-23 07:50:55 -0400
7b629dcfa6Cleared UB in cast.cpp due to use of rotVariable. On PowerPC, the specialization that uses inline assembler will activate. The inline assembly uses __rlwnm which takes a mask and does not suffer C/C++ UB
Jeffrey Walton
2015-07-23 05:10:12 -0400
ac0f94c23aRemoved branch from rotlVariable. The mask ensures it stays well defined
Jeffrey Walton
2015-07-23 04:06:10 -0400
1303f4bdccCutover to CRYPTOPP_ASSERT in misc.h. Posix's behavior of "let's crash the program by raising SIGABRT" in Debug builds has got to be one of the most questionable decisions in the history of computing. The new behavior: if there's a SIGTRAP handler somewhere, then the handler will be invoked. Some platforms, like Apple and Microsoft, provide a default SIGTRAP handler. If there's no SIGTRAP handler, then the program will crash just like it raised a SIGABRT. In this case, there's no effective change in behavior
Jeffrey Walton
2015-07-23 03:39:13 -0400
5daa168a93Cleaned up CRYPTOPP_CLANG_INTEGRATED_ASSEMBLER and WORKAROUND_LLVM_BUG_18916 defines
Jeffrey Walton
2015-07-23 03:29:21 -0400
cd33142f6cImproved flow of setting variables in makefile
Jeffrey Walton
2015-07-23 03:17:18 -0400
b3924a7b86Additional changes to support Clang's integrated assembler. They have not been activated though. Uri and other testers will be able to uncomment the TODO line and everything will work as expected
Jeffrey Walton
2015-07-23 02:18:57 -0400
e6300f52e2Removed template specializations for Clang using preprocessor for rotFixed due to LLVM Bug 24226. Removed asserts from __rlwinm because the mask ensures the operation is well defined (see the comments in ppc_intrinsics.h)
Jeffrey Walton
2015-07-23 01:53:45 -0400
fcd5f6df72Cleared "invalid operand size" under Clang's integrated assembler. After more testing, this might be applied to other assemblers because Clang is probably correct in this instance
Jeffrey Walton
2015-07-22 06:14:37 -0400
29c4310aabCleared remaining issues related to Clang's integarted assembler parsing of the syntax string
Jeffrey Walton
2015-07-22 03:59:21 -0400
6d0dd41eb0Specialized defines to work with/around Clang integrated assembler. The two defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain
Jeffrey Walton
2015-07-22 03:48:10 -0400
931ec17224Added CRYPTOPP_ASSERT (but its not cut-in yet). It required another file because misc.h needed it. (The other options were to force it into misc.h early or drop it in config.h)
Jeffrey Walton
2015-07-22 02:11:52 -0400
2441817708Improved comment for GCC_DIAGNOSTIC_AWARE
Jeffrey Walton
2015-07-21 19:02:11 -0400
3c56063c3fAdded CRYPTOPP_CLANG_NO_INTEGRATED_AS as a guard in config.h (disabled by default since integrated-as is default behavior and the bug is active). GNU_ATT_SYNTAX → GNU_AS_ATT_SYNTAX and GNUINTEL_SYNTAX → GNU_AS_INTEL_SYNTAX
Jeffrey Walton
2015-07-21 18:05:48 -0400
5e8b114e58Added macro to abstract differences in sytax string parsing between GAS and Clang integrated assembler. Also see LLVM Bug 18916 (https://llvm.org/bugs/show_bug.cgi?id=18916)
Jeffrey Walton
2015-07-21 13:48:48 -0400
8e51ab9623Tightened assert conditions when -DDEBUG is in effect.
Jeffrey Walton
2015-07-20 01:15:06 -0400
81aa87df02Cleared -Wunused-but-set-variable from GCC 4.8 and GCC 5.1. The way to handle separators is via locales and facets
Jeffrey Walton
2015-07-20 00:18:54 -0400
cf43ed07e3Revert "Cleared -Wreorder from GCC 4.8 on MinGW"
Jeffrey Walton
2015-07-20 00:13:56 -0400
a9082aeee0Cleared -Wreorder from GCC 4.8 on MinGW
Jeffrey Walton
2015-07-19 22:34:20 -0400
4b4156e6baFixed compile for MinGW
Jeffrey Walton
2015-07-19 22:09:35 -0400
94db43de97Cleared -Wunknown-pragmas under GCC 5.1/Cygwin on Windows
Jeffrey Walton
2015-07-19 15:09:04 -0400