ext/rj_schema/rapidjson/test/unittest/istreamwrappertest.cpp in rj_schema-0.1.4 vs ext/rj_schema/rapidjson/test/unittest/istreamwrappertest.cpp in rj_schema-0.2.0

- old
+ new

@@ -18,11 +18,11 @@ #include "rapidjson/encodedstream.h" #include "rapidjson/document.h" #include <sstream> #include <fstream> -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(__clang__) RAPIDJSON_DIAG_PUSH RAPIDJSON_DIAG_OFF(4702) // unreachable code #endif using namespace rapidjson; @@ -174,8 +174,8 @@ EXPECT_EQ(5, d.MemberCount()); } #endif -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(__clang__) RAPIDJSON_DIAG_POP #endif