Skip to content

Commit 2e66339

Browse files
committed
Disable parsebyparts example for clang
1 parent fee5190 commit 2e66339

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/parsebyparts/parsebyparts.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// Example of parsing JSON to document by parts.
22

33
// Using C++11 threads
4-
#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1700)
4+
// Temporarily disable for clang (older version) due to incompatibility with libstdc++
5+
#if (__cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1700)) && !defined(__clang__)
56

67
#include "rapidjson/document.h"
78
#include "rapidjson/error/en.h"

0 commit comments

Comments
 (0)