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

@@ -29,11 +29,6 @@
#include "sample_muxer_metadata.h"
#ifdef _MSC_VER
// Disable MSVC warnings that suggest making code non-portable.
#pragma warning(disable : 4996)
#endif
namespace {
void Usage() {