1
0

Fixed warnings in md5

git-svn-id: http://mc-server.googlecode.com/svn/trunk@703 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-07-29 12:03:04 +00:00
parent 5439d0c482
commit 0e7bef4452
2 changed files with 27 additions and 4 deletions

View File

@ -1836,6 +1836,33 @@
<File <File
RelativePath="..\source\md5\md5.cpp" RelativePath="..\source\md5\md5.cpp"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
<FileConfiguration
Name="Release profiled|Win32"
>
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath="..\source\md5\md5.h" RelativePath="..\source\md5\md5.h"

View File

@ -30,13 +30,9 @@ documentation and/or software.
*/ */
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
/* interface header */ /* interface header */
#include "md5.h" #include "md5.h"
// _X 2012_07_15: disable MSVC warnings on "insecure" functions, such as sprintf() - we know they're being used securely here
#define _CRT_SECURE_NO_WARNINGS