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