Disable parsebyparts example for clang

This commit is contained in:
Milo Yip 2016-06-13 09:54:02 +08:00
parent fee5190def
commit 2e66339137

View File

@ -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"