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

@@ -7,11 +7,6 @@
// be found in the AUTHORS file in the root of the source tree.
#include "testing/test_util.h"
#ifdef _MSC_VER
// Disable MSVC warnings that suggest making code non-portable.
#pragma warning(disable : 4996)
#endif
#include <cstdint>
#include <cstdio>
#include <cstdlib>