From 2e6633913718b923a949f31ce76ce14ccf4bea8d Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Mon, 13 Jun 2016 09:54:02 +0800 Subject: [PATCH] Disable parsebyparts example for clang --- example/parsebyparts/parsebyparts.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/parsebyparts/parsebyparts.cpp b/example/parsebyparts/parsebyparts.cpp index 919d908..57eed00 100644 --- a/example/parsebyparts/parsebyparts.cpp +++ b/example/parsebyparts/parsebyparts.cpp @@ -1,7 +1,8 @@ // Example of parsing JSON to document by parts. // Using C++11 threads -#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1700) +// Temporarily disable for clang (older version) due to incompatibility with libstdc++ +#if (__cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1700)) && !defined(__clang__) #include "rapidjson/document.h" #include "rapidjson/error/en.h"