ENH: Remove conditionals for unsupported VS compilers

Visual Studio 12 (2013) with _MSC_VER=1800 is the oldest supported
compiler with sufficient C++11 capabilities

See:
https://blogs.msdn.microsoft.com/vcblog/2013/12/02/c1114-core-language-features-in-vs-2013-and-the-nov-2013-ctp/
for details related to language features supported.
This commit is contained in:
Hans Johnson
2019-01-11 14:13:08 -06:00
committed by Hans Johnson
parent 2853b1cdac
commit 31d65711d6
6 changed files with 12 additions and 27 deletions

View File

@@ -43,7 +43,7 @@ int JSON_API msvc_pre1900_c99_snprintf(char *outBuf, size_t size, const char *fo
#endif
// Disable warning C4702 : unreachable code
#if defined(_MSC_VER) && _MSC_VER >= 1800 // VC++ 12.0 and above
#if defined(_MSC_VER)
#pragma warning(disable : 4702)
#endif