diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-06-09 11:33:32 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-06-09 11:33:32 -0400 |
commit | d7399e0fd799dbe365e57333d668835342b21468 (patch) | |
tree | d3512db9c14bcc5df916e79300bdf22ed84e19ac /sha.cpp | |
parent | 44015c26ba215f955b1e653f9c8f3c894a532707 (diff) | |
download | cryptopp-git-d7399e0fd799dbe365e57333d668835342b21468.tar.gz |
Cleared GCC/Clang warning on unknown pragma
Diffstat (limited to 'sha.cpp')
-rw-r--r-- | sha.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -123,7 +123,9 @@ extern const word32 SHA256_K[64] = { #if defined(CRYPTOPP_X86_ASM_AVAILABLE) || defined(CRYPTOPP_GENERATE_X64_MASM) -#pragma warning(disable: 4731) // frame pointer register 'ebp' modified by inline assembly code +#ifdef _MSC_VER +# pragma warning(disable: 4731) // frame pointer register 'ebp' modified by inline assembly code +#endif static void CRYPTOPP_FASTCALL X86_SHA256_HashBlocks(word32 *state, const word32 *data, size_t len #if defined(_MSC_VER) && (_MSC_VER == 1200) |