diff options
author | Marcel Raad <MarcelRaad@users.noreply.github.com> | 2017-07-17 18:10:38 +0200 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-07-17 12:10:38 -0400 |
commit | d9de314e86306ce6dd549ccf6b98a6100c9c7310 (patch) | |
tree | fa9689ef80c32a585d3e96c77ad831693f8672e3 /iterhash.cpp | |
parent | 50d1ea83144af55e4938b3972dbc365908750fad (diff) | |
download | cryptopp-git-d9de314e86306ce6dd549ccf6b98a6100c9c7310.tar.gz |
Fix Windows compilation issues (by RaptorFactor) (#444)
* Fix compilation on Windows with /DUNICODE
* Fix linking of fipstest for MSVC targeting ARM (__crt_debugger_hook is not available).
* Fix build for Clang on Windows with optimizations on.
* Fix a warning about a non-existant warning under Clang.
* Fix compilation under Intel C++ 18.0 on Windows
Diffstat (limited to 'iterhash.cpp')
-rw-r--r-- | iterhash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iterhash.cpp b/iterhash.cpp index eedd5172..bf287164 100644 --- a/iterhash.cpp +++ b/iterhash.cpp @@ -152,7 +152,7 @@ template <class T, class BASE> void IteratedHashBase<T, BASE>::TruncatedFinal(by this->Restart(); // reinit for next use
}
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__clang__)
template class IteratedHashBase<word64, HashTransformation>;
template class IteratedHashBase<word64, MessageAuthenticationCode>;
|