Suppress MSVC compiler warnings in md5.cpp
This commit is contained in:
parent
cbd3c2644c
commit
be4d1c1702
1 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,12 @@ documentation and/or software.
|
|||
#include <cstring> // Edit: needed for strlen() (strings.h should
|
||||
// include it but apparently does not for me)
|
||||
|
||||
// C4351 is a warning about default-initializing arrays in the initializer list.
|
||||
// Since it's desired behavior, suppress the warning.
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4351)
|
||||
#endif
|
||||
|
||||
// MD5 simple initialization method
|
||||
|
||||
MD5::MD5()
|
||||
|
|
Loading…
Add table
Reference in a new issue