mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-03-04 07:27:22 +01:00
Disable warning "C4702" when compiling json cpp using vs2013 and above
This commit is contained in:
parent
2cc9b24f0d
commit
0a62267fe4
@ -19,6 +19,11 @@
|
||||
#include <cstddef> // size_t
|
||||
#include <algorithm> // min()
|
||||
|
||||
// Disable warning C4702 : unreachable code
|
||||
#if defined(_MSC_VER) && _MSC_VER >= 1800 // VC++ 12.0 and above
|
||||
#pragma warning(disable:4702)
|
||||
#endif
|
||||
|
||||
#define JSON_ASSERT_UNREACHABLE assert(false)
|
||||
|
||||
namespace Json {
|
||||
|
Loading…
x
Reference in New Issue
Block a user