mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-28 06:01:31 +02:00
Merge pull request #771 from Binyang2014/master
Disable warning "C4702" when compiling json cpp using vs2013 and above resolves #759
This commit is contained in:
commit
ded953e0a6
@ -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