From 0e3fffd242db0eb158410411616886e0c8f29c4f Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 27 Jun 2016 15:38:56 +0200 Subject: [PATCH] workaround for cuda 7.5 nvcc compiler --- include/json/value.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/json/value.h b/include/json/value.h index 2c5667a..66433f8 100644 --- a/include/json/value.h +++ b/include/json/value.h @@ -216,7 +216,12 @@ public: static const UInt64 maxUInt64; #endif // defined(JSON_HAS_INT64) +//MW: workaround for bug in NVIDIAs CUDA 7.5 nvcc compiler +#ifdef __NVCC__ +public: +#else private: +#endif //__NVCC__ #ifndef JSONCPP_DOC_EXCLUDE_IMPLEMENTATION class CZString { public: