cmake/msvc: Disable C4996 project wide.

MSVC C4996 triggers upon use of functions like fopen, and suggests
use of non-portable Microsoft replacements. Disable it project wide,
and remove the pragmas littered throughout the tree.

Change-Id: I8b890bbfd3cd7224c25350bd28f334facd8b7783
This commit is contained in:
Tom Finegan
2016-03-30 10:52:20 -07:00
parent 6ef8264fcc
commit da6439685d
10 changed files with 3 additions and 46 deletions

View File

@@ -22,11 +22,6 @@
#include "common/webmids.h"
#ifdef _MSC_VER
// Disable MSVC warnings that suggest making code non-portable.
#pragma warning(disable : 4996)
#endif
namespace mkvparser {
const double MasteringMetadata::kValueNotPresent = DBL_MAX;
const long long Colour::kValueNotPresent = LLONG_MAX;