Disable deprecation warnings for VS builds

fopen/getenv are standard c++ that are not deprecated.
This commit is contained in:
Pavel P
2020-04-26 03:53:00 +06:00
committed by John Keiser
parent 73e27bdd48
commit d40069a018
3 changed files with 5 additions and 9 deletions
+4 -1
View File
@@ -1,11 +1,14 @@
#include "simdjson.h"
SIMDJSON_PUSH_DISABLE_WARNINGS
#if defined(SIMDJSON_CLANG_VISUAL_STUDIO)
SIMDJSON_DISABLE_GCC_WARNING(-Wmicrosoft-include)
#endif
SIMDJSON_DISABLE_DEPRECATED_WARNING
#include "error.cpp"
#include "implementation.cpp"
#include "stage1_find_marks.cpp"
#include "stage2_build_tape.cpp"
SIMDJSON_POP_DISABLE_WARNINGS