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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user