diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-09-15 12:43:18 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-09-15 12:43:18 -0400 |
commit | b0798038561d79a60b86585eae0b42ff721c08ed (patch) | |
tree | 2c818837a7aec814698037cfefd9a70824254bdb /blake2.cpp | |
parent | 173a7a80259910933645911aaf912dd9c32d5095 (diff) | |
download | cryptopp-git-b0798038561d79a60b86585eae0b42ff721c08ed.tar.gz |
Fix compile under Embarcadero (GH #498)
[bcc32c Error] blake2.cpp(49): 'alignas' must be specified on definition if it is specified on any declaration
Diffstat (limited to 'blake2.cpp')
-rw-r--r-- | blake2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,12 +46,14 @@ struct BLAKE2_IV };
template<>
+CRYPTOPP_ALIGN_DATA(16)
const word32 BLAKE2_IV<word32, false>::iv[8] = {
0x6A09E667UL, 0xBB67AE85UL, 0x3C6EF372UL, 0xA54FF53AUL,
0x510E527FUL, 0x9B05688CUL, 0x1F83D9ABUL, 0x5BE0CD19UL
};
template<>
+CRYPTOPP_ALIGN_DATA(16)
const word64 BLAKE2_IV<word64, true>::iv[8] = {
W64LIT(0x6a09e667f3bcc908), W64LIT(0xbb67ae8584caa73b),
W64LIT(0x3c6ef372fe94f82b), W64LIT(0xa54ff53a5f1d36f1),
|