Fix build for Clang on Windows with optimizations on.
parent
30033fde77
commit
b51386adc0
|
|
@ -154,7 +154,7 @@ template <class T, class BASE> void IteratedHashBase<T, BASE>::TruncatedFinal(by
|
||||||
this->Restart(); // reinit for next use
|
this->Restart(); // reinit for next use
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) || defined(__clang__)
|
||||||
template class IteratedHashBase<word64, HashTransformation>;
|
template class IteratedHashBase<word64, HashTransformation>;
|
||||||
template class IteratedHashBase<word64, MessageAuthenticationCode>;
|
template class IteratedHashBase<word64, MessageAuthenticationCode>;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -169,7 +169,7 @@ protected:
|
||||||
FixedSizeAlignedSecBlock<T_HashWordType, T_BlockSize/sizeof(T_HashWordType), T_StateAligned> m_state;
|
FixedSizeAlignedSecBlock<T_HashWordType, T_BlockSize/sizeof(T_HashWordType), T_StateAligned> m_state;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef __GNUC__
|
#if !defined(__GNUC__) && !defined(__clang__)
|
||||||
CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word64, HashTransformation>;
|
CRYPTOPP_DLL_TEMPLATE_CLASS IteratedHashBase<word64, HashTransformation>;
|
||||||
CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word64, MessageAuthenticationCode>;
|
CRYPTOPP_STATIC_TEMPLATE_CLASS IteratedHashBase<word64, MessageAuthenticationCode>;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue