summaryrefslogtreecommitdiff
path: root/iterhash.cpp
diff options
context:
space:
mode:
authorMarcel Raad <MarcelRaad@users.noreply.github.com>2017-07-17 18:10:38 +0200
committerJeffrey Walton <noloader@gmail.com>2017-07-17 12:10:38 -0400
commitd9de314e86306ce6dd549ccf6b98a6100c9c7310 (patch)
treefa9689ef80c32a585d3e96c77ad831693f8672e3 /iterhash.cpp
parent50d1ea83144af55e4938b3972dbc365908750fad (diff)
downloadcryptopp-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.cpp2
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>;