* using log directory 'd:/Rcompile/CRANpkg/local/3.2/ndjson.Rcheck' * using R version 3.2.5 (2016-04-14) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'ndjson/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'ndjson' version '0.2.0' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ndjson' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.2/ndjson.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'ndjson' ... ** package 'ndjson' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpmISlPt/R.INSTALL36906a4661e0/ndjson/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp11/include" -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp11/include" -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c gzstream.cpp -o gzstream.o g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp11/include" -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c ndjson.cpp -o ndjson.o In file included from ndjson.cpp:8:0: json.h:66:10: error: #error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers" json.h:225:11: error: expected nested-name-specifier before 'basic_json_t' json.h:225:11: error: using-declaration for non-member at class scope json.h:225:24: error: expected ';' before '=' token json.h:225:24: error: expected unqualified-id before '=' token json.h:244:11: error: expected nested-name-specifier before 'value_type' json.h:244:11: error: using-declaration for non-member at class scope json.h:244:22: error: expected ';' before '=' token json.h:244:22: error: expected unqualified-id before '=' token json.h:247:11: error: expected nested-name-specifier before 'reference' json.h:247:11: error: using-declaration for non-member at class scope json.h:247:21: error: expected ';' before '=' token json.h:247:21: error: expected unqualified-id before '=' token json.h:249:11: error: expected nested-name-specifier before 'const_reference' json.h:249:11: error: using-declaration for non-member at class scope json.h:249:27: error: expected ';' before '=' token json.h:249:27: error: expected unqualified-id before '=' token json.h:252:11: error: expected nested-name-specifier before 'difference_type' json.h:252:11: error: using-declaration for non-member at class scope json.h:252:27: error: expected ';' before '=' token json.h:252:27: error: expected unqualified-id before '=' token json.h:254:11: error: expected nested-name-specifier before 'size_type' json.h:254:11: error: using-declaration for non-member at class scope json.h:254:21: error: expected ';' before '=' token json.h:254:21: error: expected unqualified-id before '=' token json.h:257:11: error: expected nested-name-specifier before 'allocator_type' json.h:257:11: error: using-declaration for non-member at class scope json.h:257:26: error: expected ';' before '=' token json.h:257:26: error: expected unqualified-id before '=' token json.h:260:11: error: expected nested-name-specifier before 'pointer' json.h:260:11: error: using-declaration for non-member at class scope json.h:260:19: error: expected ';' before '=' token json.h:260:19: error: expected unqualified-id before '=' token json.h:262:11: error: expected nested-name-specifier before 'const_pointer' json.h:262:11: error: using-declaration for non-member at class scope json.h:262:25: error: expected ';' before '=' token json.h:262:25: error: expected unqualified-id before '=' token json.h:269:11: error: expected nested-name-specifier before 'reverse_iterator' json.h:269:11: error: using-declaration for non-member at class scope json.h:269:28: error: expected ';' before '=' token json.h:269:28: error: expected unqualified-id before '=' token json.h:271:11: error: expected nested-name-specifier before 'const_reverse_iterator' json.h:271:11: error: using-declaration for non-member at class scope json.h:271:34: error: expected ';' before '=' token json.h:271:34: error: expected unqualified-id before '=' token json.h:279:12: error: 'allocator_type' does not name a type json.h:377:11: error: expected nested-name-specifier before 'object_t' json.h:377:11: error: using-declaration for non-member at class scope json.h:377:20: error: expected ';' before '=' token json.h:377:20: error: expected unqualified-id before '=' token json.h:427:11: error: expected nested-name-specifier before 'array_t' json.h:427:11: error: using-declaration for non-member at class scope json.h:427:19: error: expected ';' before '=' token json.h:427:19: error: expected unqualified-id before '=' token json.h:474:11: error: expected nested-name-specifier before 'string_t' json.h:474:11: error: using-declaration for non-member at class scope json.h:474:20: error: expected ';' before '=' token json.h:474:20: error: expected unqualified-id before '=' token json.h:500:11: error: expected nested-name-specifier before 'boolean_t' json.h:500:11: error: using-declaration for non-member at class scope json.h:500:21: error: expected ';' before '=' token json.h:500:21: error: expected unqualified-id before '=' token json.h:572:11: error: expected nested-name-specifier before 'number_integer_t' json.h:572:11: error: using-declaration for non-member at class scope json.h:572:28: error: expected ';' before '=' token json.h:572:28: error: expected unqualified-id before '=' token json.h:643:11: error: expected nested-name-specifier before 'number_unsigned_t' json.h:643:11: error: using-declaration for non-member at class scope json.h:643:29: error: expected ';' before '=' token json.h:643:29: error: expected unqualified-id before '=' token json.h:711:11: error: expected nested-name-specifier before 'number_float_t' json.h:711:11: error: using-declaration for non-member at class scope json.h:711:26: error: expected ';' before '=' token json.h:711:26: error: expected unqualified-id before '=' token json.h:804:9: error: 'object_t' does not name a type json.h:806:9: error: 'array_t' does not name a type json.h:808:9: error: 'string_t' does not name a type json.h:810:9: error: 'boolean_t' does not name a type json.h:812:9: error: 'number_integer_t' does not name a type json.h:814:9: error: 'number_unsigned_t' does not name a type json.h:816:9: error: 'number_float_t' does not name a type json.h:821:30: error: expected ')' before 'v' json.h:823:37: error: expected ')' before 'v' json.h:825:38: error: expected ')' before 'v' json.h:827:35: error: expected ')' before 'v' json.h:883:26: error: 'string_t' does not name a type json.h:883:36: error: ISO C++ forbids declaration of 'value' with no type [-fpermissive] json.h:889:26: error: 'object_t' does not name a type json.h:889:36: error: ISO C++ forbids declaration of 'value' with no type [-fpermissive] json.h:889:9: error: 'nlohmann::basic_json::json_value::json_value(const int&)' cannot be overloaded json.h:883:9: error: with 'nlohmann::basic_json::json_value::json_value(const int&)' json.h:895:26: error: 'array_t' does not name a type json.h:895:35: error: ISO C++ forbids declaration of 'value' with no type [-fpermissive] json.h:895:9: error: 'nlohmann::basic_json::json_value::json_value(const int&)' cannot be overloaded json.h:883:9: error: with 'nlohmann::basic_json::json_value::json_value(const int&)' In file included from ndjson.cpp:8:0: json.h:1000:11: error: expected nested-name-specifier before 'parser_callback_t' json.h:1000:11: error: using-declaration for non-member at class scope json.h:1000:29: error: expected ';' before '=' token json.h:1000:29: error: expected unqualified-id before '=' token json.h:1135:22: error: 'object_t' does not name a type json.h:1135:32: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1169:109: error: template argument 1 is invalid json.h:1170:108: error: template argument 1 is invalid json.h:1200:22: error: 'array_t' does not name a type json.h:1200:31: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1200:5: error: 'nlohmann::basic_json::basic_json(const int&)' cannot be overloaded json.h:1135:5: error: with 'nlohmann::basic_json::basic_json(const int&)' json.h:1234:88: error: template argument 2 is invalid json.h:1235:94: error: template argument 2 is invalid json.h:1236:96: error: template argument 2 is invalid json.h:1237:102: error: template argument 2 is invalid json.h:1238:83: error: template argument 2 is invalid json.h:1239:89: error: template argument 2 is invalid json.h:1240:106: error: template argument 1 is invalid json.h:1242:5: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(const CompatibleArrayType&)' cannot be overloaded json.h:1172:5: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(const CompatibleObjectType&)' json.h:1272:22: error: 'string_t' does not name a type json.h:1272:32: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1272:5: error: 'nlohmann::basic_json::basic_json(const int&)' cannot be overloaded json.h:1135:5: error: with 'nlohmann::basic_json::basic_json(const int&)' json.h:1298:31: error: 'string_t' has not been declared json.h:1329:41: error: 'string_t' was not declared in this scope json.h:1329:71: error: template argument 1 is invalid json.h:1329:84: error: template argument 1 is invalid json.h:1331:5: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(const CompatibleStringType&)' cannot be overloaded json.h:1172:5: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(const CompatibleObjectType&)' json.h:1351:26: error: expected ')' before 'val' json.h:1383:38: error: 'number_integer_t' was not declared in this scope json.h:1383:54: error: template argument 2 is invalid json.h:1386:22: error: 'number_integer_t' does not name a type json.h:1386:39: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1451:40: error: 'number_integer_t' was not declared in this scope json.h:1451:85: error: template argument 1 is invalid json.h:1454:45: error: template argument 1 is invalid json.h:1483:38: error: 'number_unsigned_t' was not declared in this scope json.h:1483:55: error: template argument 2 is invalid json.h:1486:22: error: 'number_unsigned_t' does not name a type json.h:1486:40: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1486:5: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template::value) && ), int>::type > nlohmann::basic_json::basic_json(int)' cannot be overloaded json.h:1386:5: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template::value) && ), int>::type > nlohmann::basic_json::basic_json(int)' json.h:1514:41: error: 'number_unsigned_t' was not declared in this scope json.h:1514:88: error: template argument 1 is invalid json.h:1517:47: error: template argument 1 is invalid json.h:1519:5: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(CompatibleNumberUnsignedType)' cannot be overloaded json.h:1456:5: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(CompatibleNumberIntegerType)' json.h:1550:22: error: 'number_float_t' does not name a type json.h:1550:37: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1550:5: error: 'nlohmann::basic_json::basic_json(int)' cannot be overloaded json.h:1417:5: error: with 'nlohmann::basic_json::basic_json(int)' json.h:1596:40: error: 'number_float_t' was not declared in this scope json.h:1596:81: error: template argument 1 is invalid json.h:1597:74: error: template argument 1 is invalid json.h:1821:26: error: expected ')' before 'cnt' json.h:1867:72: error: template argument 2 is invalid json.h:1868:78: error: template argument 2 is invalid json.h:1869:24: error: template argument 1 is invalid json.h:1980:48: error: 'parser_callback_t' does not name a type json.h:1980:71: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] json.h:2126:5: error: 'reference' does not name a type json.h:2231:5: error: 'string_t' does not name a type json.h:2620:88: error: wrong number of template arguments (1, should be 2) d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/type_traits:789:12: error: provided for 'template struct std::is_convertible' json.h:2621:39: error: 'basic_json_t' was not declared in this scope json.h:2621:76: error: template argument 1 is invalid json.h:2622:24: error: template argument 1 is invalid json.h:2636:5: error: 'object_t' does not name a type json.h:2651:39: error: 'basic_json_t' was not declared in this scope json.h:2651:75: error: template argument 1 is invalid json.h:2652:36: error: 'basic_json_t' was not declared in this scope json.h:2652:72: error: template argument 1 is invalid json.h:2656:24: error: template argument 1 is invalid json.h:2657:7: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > T nlohmann::basic_json::get_impl(T*) const' cannot be overloaded json.h:2623:7: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > T nlohmann::basic_json::get_impl(T*) const' json.h:2678:39: error: 'basic_json_t' was not declared in this scope json.h:2678:54: error: template argument 1 is invalid json.h:2679:36: error: 'basic_json_t' was not declared in this scope json.h:2679:51: error: template argument 1 is invalid json.h:2680:24: error: template argument 1 is invalid json.h:2719:5: error: 'array_t' does not name a type json.h:2734:39: error: 'string_t' was not declared in this scope json.h:2734:50: error: template argument 1 is invalid json.h:2735:24: error: template argument 1 is invalid json.h:2736:7: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > T nlohmann::basic_json::get_impl(T*) const' cannot be overloaded json.h:2623:7: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > T nlohmann::basic_json::get_impl(T*) const' json.h:2780:15: error: 'boolean_t' does not name a type json.h:2788:5: error: 'object_t' does not name a type json.h:2794:21: error: 'object_t' does not name a type json.h:2800:5: error: 'array_t' does not name a type json.h:2806:21: error: 'array_t' does not name a type json.h:2812:5: error: 'string_t' does not name a type json.h:2818:21: error: 'string_t' does not name a type json.h:2824:5: error: 'boolean_t' does not name a type json.h:2830:21: error: 'boolean_t' does not name a type json.h:2836:5: error: 'number_integer_t' does not name a type json.h:2842:21: error: 'number_integer_t' does not name a type json.h:2848:5: error: 'number_unsigned_t' does not name a type json.h:2854:21: error: 'number_unsigned_t' does not name a type json.h:2860:5: error: 'number_float_t' does not name a type json.h:2866:21: error: 'number_float_t' does not name a type json.h:3164:81: error: template argument 2 is invalid json.h:3166:103: error: template argument 1 is invalid json.h:3168:26: error: wrong number of template arguments (3, should be 2) d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/type_traits:406:12: error: provided for 'template struct std::is_same' json.h:3168:36: error: expression '!(std::is_pointer::value) && && =0' is not a constant-expression json.h:3168:38: error: template argument 1 is invalid json.h:3169:5: error: expected identifier before 'operator' json.h:3169:26: error: 'const' and 'volatile' function specifiers on 'operator ValueType' invalid in parameter declaration json.h:3170:5: error: expected '>' before '{' token json.h:3170:5: error: expected unqualified-id before '{' token json.h:3208:5: error: 'reference' does not name a type json.h:3251:5: error: 'const_reference' does not name a type json.h:3298:5: error: 'reference' does not name a type json.h:3345:5: error: 'const_reference' does not name a type json.h:3391:5: error: 'reference' does not name a type json.h:3439:5: error: 'const_reference' does not name a type json.h:3479:5: error: 'reference' does not name a type json.h:3530:5: error: 'const_reference' does not name a type json.h:3572:5: error: 'reference' does not name a type json.h:3607:5: error: 'const_reference' does not name a type json.h:3640:5: error: 'reference' does not name a type json.h:3692:5: error: 'const_reference' does not name a type json.h:3756:39: error: 'basic_json_t' was not declared in this scope json.h:3756:62: error: template argument 1 is invalid json.h:3757:24: error: template argument 1 is invalid json.h:3758:21: error: expected primary-expression before 'const' json.h:3758:71: error: expected primary-expression before 'default_value' json.h:3758:84: sorry, unimplemented: non-static data member initializers json.h:3758:86: error: expected ';' before 'const' json.h:3778:5: error: data member 'value' cannot be a member template json.h:3784:5: error: 'string_t' does not name a type json.h:3832:39: error: 'basic_json_t' was not declared in this scope json.h:3832:62: error: template argument 1 is invalid json.h:3833:24: error: template argument 1 is invalid json.h:3859:5: error: 'string_t' does not name a type json.h:3889:5: error: 'reference' does not name a type json.h:3897:5: error: 'const_reference' does not name a type json.h:3932:5: error: 'reference' does not name a type json.h:3942:5: error: 'const_reference' does not name a type json.h:3996:78: error: template argument 2 is invalid json.h:3997:84: error: template argument 2 is invalid json.h:3998:24: error: template argument 1 is invalid json.h:4105:78: error: template argument 2 is invalid json.h:4106:84: error: template argument 2 is invalid json.h:4107:24: error: template argument 1 is invalid json.h:4197:5: error: 'size_type' does not name a type json.h:4234:22: error: 'size_type' does not name a type json.h:4234:32: error: ISO C++ forbids declaration of 'idx' with no type [-fpermissive] json.h:4280:28: error: 'object_t' has not been declared json.h:4296:34: error: 'object_t' has not been declared json.h:4326:5: error: 'size_type' does not name a type json.h:4507:5: error: 'reverse_iterator' does not name a type json.h:4515:5: error: 'const_reverse_iterator' does not name a type json.h:4544:5: error: 'reverse_iterator' does not name a type json.h:4552:5: error: 'const_reverse_iterator' does not name a type json.h:4581:5: error: 'const_reverse_iterator' does not name a type json.h:4610:5: error: 'const_reverse_iterator' does not name a type json.h:4631:55: error: 'reference' has not been declared json.h:4639:61: error: 'const_reference' has not been declared json.h:4639:44: error: 'static nlohmann::basic_json::iteration_proxy::const_iterator> nlohmann::basic_json::iterator_wrapper(int)' cannot be overloaded json.h:4631:38: error: with 'static nlohmann::basic_json::iteration_proxy::iterator> nlohmann::basic_json::iterator_wrapper(int)' json.h:4759:5: error: 'size_type' does not name a type json.h:4825:5: error: 'size_type' does not name a type json.h:4983:5: error: 'reference' does not name a type json.h:5017:5: error: 'reference' does not name a type json.h:5043:35: error: 'object_t' has not been declared json.h:5067:5: error: 'reference' does not name a type json.h:5115:5: error: 'reference' does not name a type json.h:5198:41: error: 'size_type' has not been declared json.h:5345:15: error: 'reference' has not been declared json.h:5346:9: error: 'is_nothrow_move_constructible' is not a member of 'std' json.h:5346:51: error: expected primary-expression before '>' token json.h:5346:52: error: '::value' has not been declared json.h:5347:9: error: 'is_nothrow_move_assignable' is not a member of 'std' json.h:5347:48: error: expected primary-expression before '>' token json.h:5347:49: error: '::value' has not been declared json.h:5348:9: error: 'is_nothrow_move_constructible' is not a member of 'std' json.h:5348:54: error: expected primary-expression before '>' token json.h:5348:55: error: '::value' has not been declared json.h:5349:9: error: 'is_nothrow_move_assignable' is not a member of 'std' json.h:5349:51: error: expected primary-expression before '>' token json.h:5349:52: error: '::value' has not been declared json.h:5377:15: error: 'array_t' has not been declared json.h:5410:15: error: 'object_t' has not been declared json.h:5410:10: error: 'void nlohmann::basic_json::swap(int&)' cannot be overloaded json.h:5377:10: error: with 'void nlohmann::basic_json::swap(int&)' json.h:5443:15: error: 'string_t' has not been declared json.h:5443:10: error: 'void nlohmann::basic_json::swap(int&)' cannot be overloaded json.h:5377:10: error: with 'void nlohmann::basic_json::swap(int&)' json.h:5523:28: error: 'const_reference' has not been declared json.h:5523:49: error: 'const_reference' has not been declared json.h:5523:70: error: 'bool nlohmann::operator==(int, int)' must have an argument of class or enumerated type json.h:5616:28: error: 'const_reference' has not been declared json.h:5616:63: error: 'bool nlohmann::operator==(int, std::nullptr_t)' must have an argument of class or enumerated type json.h:5625:44: error: 'const_reference' has not been declared json.h:5625:63: error: 'bool nlohmann::operator==(std::nullptr_t, int)' must have an argument of class or enumerated type json.h:5646:28: error: 'const_reference' has not been declared json.h:5646:49: error: 'const_reference' has not been declared json.h:5646:70: error: 'bool nlohmann::operator!=(int, int)' must have an argument of class or enumerated type json.h:5669:28: error: 'const_reference' has not been declared json.h:5669:63: error: 'bool nlohmann::operator!=(int, std::nullptr_t)' must have an argument of class or enumerated type json.h:5678:44: error: 'const_reference' has not been declared json.h:5678:63: error: 'bool nlohmann::operator!=(std::nullptr_t, int)' must have an argument of class or enumerated type json.h:5707:27: error: 'const_reference' has not been declared json.h:5707:48: error: 'const_reference' has not been declared json.h:5707:69: error: 'bool nlohmann::operator<(int, int)' must have an argument of class or enumerated type json.h:5802:28: error: 'const_reference' has not been declared json.h:5802:49: error: 'const_reference' has not been declared json.h:5802:70: error: 'bool nlohmann::operator<=(int, int)' must have an argument of class or enumerated type json.h:5824:27: error: 'const_reference' has not been declared json.h:5824:48: error: 'const_reference' has not been declared json.h:5824:69: error: 'bool nlohmann::operator>(int, int)' must have an argument of class or enumerated type json.h:5846:28: error: 'const_reference' has not been declared json.h:5846:49: error: 'const_reference' has not been declared json.h:5846:70: error: 'bool nlohmann::operator>=(int, int)' must have an argument of class or enumerated type json.h:5958:35: error: 'string_t' does not name a type json.h:5958:45: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] json.h:5959:35: error: 'parser_callback_t' does not name a type json.h:5959:58: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] json.h:5989:35: error: 'parser_callback_t' does not name a type json.h:5989:58: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] json.h:5998:35: error: 'parser_callback_t' does not name a type json.h:5998:58: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] json.h:6091:42: error: 'string_t' does not name a type json.h:6091:52: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] json.h:6139:12: error: 'string_t' does not name a type json.h:6409:31: sorry, unimplemented: non-static data member initializers json.h:6412:26: error: a brace-enclosed initializer is not allowed here before '{' token json.h:6412:27: sorry, unimplemented: non-static data member initializers json.h:6457:18: error: expected type-specifier before 'difference_type' json.h:6463:28: error: expected type-specifier before 'difference_type' json.h:6469:26: error: 'difference_type' does not name a type json.h:6470:26: error: 'difference_type' does not name a type json.h:6473:9: error: 'difference_type' does not name a type json.h:6486:18: error: 'object_t' has not been declared json.h:6488:18: error: 'array_t' has not been declared json.h:6510:34: sorry, unimplemented: non-static data member initializers json.h:6510:34: error: ISO C++ forbids in-class initialization of non-const static member 'array_index' json.h:6621:15: error: expected nested-name-specifier before 'value_type' json.h:6621:15: error: using-declaration for non-member at class scope json.h:6621:26: error: expected ';' before '=' token json.h:6621:26: error: expected unqualified-id before '=' token json.h:6623:15: error: expected nested-name-specifier before 'difference_type' json.h:6623:15: error: using-declaration for non-member at class scope json.h:6623:31: error: expected ';' before '=' token json.h:6623:31: error: expected unqualified-id before '=' token json.h:6625:15: error: expected nested-name-specifier before 'pointer' json.h:6625:15: error: using-declaration for non-member at class scope json.h:6625:23: error: expected ';' before '=' token json.h:6625:23: error: expected unqualified-id before '=' token json.h:6627:15: error: expected nested-name-specifier before 'reference' json.h:6627:15: error: using-declaration for non-member at class scope json.h:6627:25: error: expected ';' before '=' token json.h:6627:25: error: expected unqualified-id before '=' token json.h:6629:15: error: expected nested-name-specifier before 'iterator_category' json.h:6629:15: error: using-declaration for non-member at class scope json.h:6629:33: error: expected ';' before '=' token json.h:6629:33: error: expected unqualified-id before '=' token json.h:6640:41: error: expected ')' before 'object' json.h:10443:31: error: expected '}' before end of line json.h:10443:31: error: expected unqualified-id before end of line json.h:10443:31: error: expected '}' before end of line In file included from ndjson.cpp:8:0: json.h: In constructor 'nlohmann::basic_json::json_value::json_value(nlohmann::basic_json::value_t)': json.h:835:37: error: 'object_t' was not declared in this scope json.h:841:36: error: 'array_t' was not declared in this scope json.h:847:21: error: 'string' was not declared in this scope json.h:847:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stringfwd.h:65:33: note: 'std::string' json.h:847:37: error: 'string_t' was not declared in this scope json.h:853:21: error: 'boolean' was not declared in this scope json.h:853:46: error: there are no arguments to 'boolean_t' that depend on a template parameter, so a declaration of 'boolean_t' must be available [-fpermissive] json.h:853:46: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) json.h:859:21: error: 'number_integer' was not declared in this scope json.h:859:56: error: there are no arguments to 'number_integer_t' that depend on a template parameter, so a declaration of 'number_integer_t' must be available [-fpermissive] json.h:865:21: error: 'number_unsigned' was not declared in this scope json.h:865:58: error: there are no arguments to 'number_unsigned_t' that depend on a template parameter, so a declaration of 'number_unsigned_t' must be available [-fpermissive] json.h:871:21: error: 'number_float' was not declared in this scope json.h:871:54: error: there are no arguments to 'number_float_t' that depend on a template parameter, so a declaration of 'number_float_t' must be available [-fpermissive] json.h: In constructor 'nlohmann::basic_json::json_value::json_value(const int&)': json.h:885:13: error: 'string' was not declared in this scope json.h:885:13: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stringfwd.h:65:33: note: 'std::string' json.h:885:29: error: 'string_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::json_value::json_value(const int&)': json.h:891:29: error: 'object_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::json_value::json_value(const int&)': json.h:897:28: error: 'array_t' was not declared in this scope In file included from ndjson.cpp:8:0: json.h: In constructor 'nlohmann::basic_json::basic_json(const CompatibleObjectType&)': json.h:1177:33: error: 'object_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::basic_json(const CompatibleArrayType&)': json.h:1247:32: error: 'array_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::basic_json(const int*)': json.h:1299:34: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h: In constructor 'nlohmann::basic_json::basic_json(int)': json.h:1419:31: error: expected type-specifier before 'number_integer_t' json.h:1419:31: error: expected '>' before 'number_integer_t' json.h:1419:31: error: expected '(' before 'number_integer_t' json.h:1419:31: error: 'number_integer_t' was not declared in this scope json.h:1422:5: error: expected '{' at end of input json.h: In constructor 'nlohmann::basic_json::basic_json(CompatibleNumberIntegerType)': json.h:1458:31: error: expected type-specifier before 'number_integer_t' json.h:1458:31: error: expected '>' before 'number_integer_t' json.h:1458:31: error: expected '(' before 'number_integer_t' json.h:1458:31: error: 'number_integer_t' was not declared in this scope json.h:1461:5: error: expected '{' at end of input json.h: In constructor 'nlohmann::basic_json::basic_json(CompatibleNumberUnsignedType)': json.h:1521:31: error: expected type-specifier before 'number_unsigned_t' json.h:1521:31: error: expected '>' before 'number_unsigned_t' json.h:1521:31: error: expected '(' before 'number_unsigned_t' json.h:1521:31: error: 'number_unsigned_t' was not declared in this scope json.h:1524:5: error: expected '{' at end of input json.h: In constructor 'nlohmann::basic_json::basic_json(std::initializer_list >, bool, nlohmann::basic_json::value_t)': json.h:1717:36: error: 'array_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::basic_json(InputIT, InputIT)': json.h:1941:41: error: 'object_t' was not declared in this scope json.h:1947:40: error: 'array_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::basic_json(std::istream&, int)': json.h:1982:29: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In destructor 'nlohmann::basic_json::~basic_json()': json.h:2167:31: error: 'object_t' was not declared in this scope json.h:2167:39: error: template argument 1 is invalid json.h:2167:46: error: invalid type in declaration before ';' token json.h:2168:23: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:2169:23: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h:2175:31: error: 'array_t' was not declared in this scope json.h:2175:38: error: template argument 1 is invalid json.h:2175:45: error: invalid type in declaration before ';' token json.h:2176:23: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:2177:23: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h:2183:31: error: 'string_t' was not declared in this scope json.h:2183:39: error: template argument 1 is invalid json.h:2183:46: error: invalid type in declaration before ';' token json.h:2184:23: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:2185:23: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h: In static member function 'static ReferenceType nlohmann::basic_json::get_ref_impl(ThisType&)': json.h:2886:15: error: expected nested-name-specifier before 'PointerType' json.h:2886:15: error: 'PointerType' has not been declared json.h:2886:27: error: expected ';' before '=' token json.h:2886:27: error: expected primary-expression before '=' token json.h:2886:75: error: expected '(' before ';' token json.h:2889:41: error: 'PointerType' was not declared in this scope json.h: In member function 'PointerType nlohmann::basic_json::get_ptr()': json.h:3034:15: error: expected nested-name-specifier before 'pointee_t' json.h:3034:15: error: 'pointee_t' has not been declared json.h:3034:25: error: expected ';' before '=' token json.h:3034:25: error: expected primary-expression before '=' token json.h:3036:77: error: expected '(' before ';' token json.h:3039:26: error: 'object_t' was not declared in this scope json.h:3039:36: error: 'pointee_t' was not declared in this scope json.h:3039:45: error: template argument 1 is invalid json.h:3039:45: error: template argument 2 is invalid json.h:3040:29: error: 'array_t' was not declared in this scope json.h:3040:38: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3040:47: error: template argument 1 is invalid json.h:3040:47: error: template argument 2 is invalid json.h:3041:29: error: 'string_t' was not declared in this scope json.h:3041:39: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3041:48: error: template argument 1 is invalid json.h:3041:48: error: template argument 2 is invalid json.h:3042:29: error: 'boolean_t' was not declared in this scope json.h:3042:40: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3042:49: error: template argument 1 is invalid json.h:3042:49: error: template argument 2 is invalid json.h:3043:29: error: 'number_integer_t' was not declared in this scope json.h:3043:47: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3043:56: error: template argument 1 is invalid json.h:3043:56: error: template argument 2 is invalid json.h:3044:29: error: 'number_unsigned_t' was not declared in this scope json.h:3044:48: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3044:57: error: template argument 1 is invalid json.h:3044:57: error: template argument 2 is invalid json.h:3045:29: error: 'number_float_t' was not declared in this scope json.h:3045:45: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3045:54: error: template argument 1 is invalid json.h:3045:54: error: template argument 2 is invalid json.h: In member function 'constexpr const PointerType nlohmann::basic_json::get_ptr() const': json.h:3064:15: error: expected nested-name-specifier before 'pointee_t' json.h:3064:15: error: 'pointee_t' has not been declared json.h:3064:25: error: expected ';' before '=' token json.h:3064:25: error: expected primary-expression before '=' token json.h:3066:77: error: expected '(' before ';' token json.h:3069:26: error: 'object_t' was not declared in this scope json.h:3069:36: error: 'pointee_t' was not declared in this scope json.h:3069:45: error: template argument 1 is invalid json.h:3069:45: error: template argument 2 is invalid json.h:3070:29: error: 'array_t' was not declared in this scope json.h:3070:38: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3070:47: error: template argument 1 is invalid json.h:3070:47: error: template argument 2 is invalid json.h:3071:29: error: 'string_t' was not declared in this scope json.h:3071:39: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3071:48: error: template argument 1 is invalid json.h:3071:48: error: template argument 2 is invalid json.h:3072:29: error: 'boolean_t' was not declared in this scope json.h:3072:40: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3072:49: error: template argument 1 is invalid json.h:3072:49: error: template argument 2 is invalid json.h:3073:29: error: 'number_integer_t' was not declared in this scope json.h:3073:47: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3073:56: error: template argument 1 is invalid json.h:3073:56: error: template argument 2 is invalid json.h:3074:29: error: 'number_unsigned_t' was not declared in this scope json.h:3074:48: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3074:57: error: template argument 1 is invalid json.h:3074:57: error: template argument 2 is invalid json.h:3075:29: error: 'number_float_t' was not declared in this scope json.h:3075:45: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3075:54: error: template argument 1 is invalid json.h:3075:54: error: template argument 2 is invalid json.h: In member function 'InteratorType nlohmann::basic_json::erase(InteratorType)': json.h:4025:35: error: 'string_t' was not declared in this scope json.h:4025:43: error: template argument 1 is invalid json.h:4025:50: error: invalid type in declaration before ';' token json.h:4026:27: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:4027:27: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h: In member function 'InteratorType nlohmann::basic_json::erase(InteratorType, InteratorType)': json.h:4134:35: error: 'string_t' was not declared in this scope json.h:4134:43: error: template argument 1 is invalid json.h:4134:50: error: invalid type in declaration before ';' token json.h:4135:27: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:4136:27: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h: In member function 'void nlohmann::basic_json::erase(int)': json.h:4239:29: error: there are no arguments to 'size' that depend on a template parameter, so a declaration of 'size' must be available [-fpermissive] json.h:4241:58: error: 'to_string' is not a member of 'std' json.h:4244:71: error: expected type-specifier before 'difference_type' json.h:4244:71: error: expected '>' before 'difference_type' json.h:4244:71: error: expected '(' before 'difference_type' json.h:4244:71: error: 'difference_type' was not declared in this scope json.h:4244:93: error: expected ')' before ';' token json.h: In member function 'void nlohmann::basic_json::push_back(std::initializer_list >)': json.h:5102:19: error: 'string_t' does not name a type json.h:5103:32: error: 'object_t' has not been declared json.h:5103:53: error: 'key' was not declared in this scope json.h: In member function 'void nlohmann::basic_json::swap(int)': json.h:5352:33: error: request for member 'm_type' in 'other', which is of non-class type 'int' json.h:5353:34: error: request for member 'm_value' in 'other', which is of non-class type 'int' json.h: In static member function 'static nlohmann::basic_json nlohmann::basic_json::parse(const int&, int)': json.h:5961:28: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In static member function 'static nlohmann::basic_json nlohmann::basic_json::parse(std::istream&, int)': json.h:5991:28: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In static member function 'static nlohmann::basic_json nlohmann::basic_json::parse(std::istream&&, int)': json.h:6000:28: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In function 'std::istream& nlohmann::operator<<(nlohmann::basic_json&, std::istream&)': json.h:6028:21: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In function 'std::istream& nlohmann::operator>>(std::istream&, nlohmann::basic_json&)': json.h:6038:21: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In static member function 'static std::size_t nlohmann::basic_json::extra_space(const int&)': json.h:6093:34: error: request for member 'begin' in 's', which is of non-class type 'const int' json.h:6093:45: error: request for member 'end' in 's', which is of non-class type 'const int' json.h:6094:56: error: 'string_t' has not been declared json.h: In member function 'void nlohmann::basic_json::dump(std::ostream&, bool, unsigned int, unsigned int) const': json.h:6296:50: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h:6309:46: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h:6336:50: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h:6347:46: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h:6353:35: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h: In member function 'void nlohmann::basic_json::primitive_iterator_t::set_begin()': json.h:6435:13: error: 'm_it' was not declared in this scope json.h:6435:20: error: 'begin_value' was not declared in this scope json.h: In member function 'void nlohmann::basic_json::primitive_iterator_t::set_end()': json.h:6441:13: error: 'm_it' was not declared in this scope json.h:6441:20: error: 'end_value' was not declared in this scope json.h: In member function 'constexpr bool nlohmann::basic_json::primitive_iterator_t::is_begin() const': json.h:6447:21: error: 'm_it' was not declared in this scope json.h:6447:29: error: 'begin_value' was not declared in this scope json.h: In member function 'constexpr bool nlohmann::basic_json::primitive_iterator_t::is_end() const': json.h:6453:21: error: 'm_it' was not declared in this scope json.h:6453:29: error: 'end_value' was not declared in this scope json.h: In member function 'typename nlohmann::basic_json::string_t nlohmann::basic_json::iteration_proxy::iteration_proxy_internal::key() const': json.h:6548:32: error: 'to_string' is not a member of 'std' json.h: At global scope: json.h:10443:31: error: expected unqualified-id before end of line json.h:10443:31: error: expected '}' before end of line json.h:10443:31: error: expected declaration before end of line make[1]: *** [ndjson.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpmISlPt/R.INSTALL36906a4661e0/ndjson/src-i386' Warning: running command 'make -f "Makevars" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="ndjson.dll" OBJECTS="RcppExports.o gzstream.o ndjson.o"' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpmISlPt/R.INSTALL36906a4661e0/ndjson/src-i386' g++ -std=c++0x -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.2/Rcpp11/include" -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c ndjson.cpp -o ndjson.o In file included from ndjson.cpp:8:0: json.h:66:10: error: #error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers" json.h:225:11: error: expected nested-name-specifier before 'basic_json_t' json.h:225:11: error: using-declaration for non-member at class scope json.h:225:24: error: expected ';' before '=' token json.h:225:24: error: expected unqualified-id before '=' token json.h:244:11: error: expected nested-name-specifier before 'value_type' json.h:244:11: error: using-declaration for non-member at class scope json.h:244:22: error: expected ';' before '=' token json.h:244:22: error: expected unqualified-id before '=' token json.h:247:11: error: expected nested-name-specifier before 'reference' json.h:247:11: error: using-declaration for non-member at class scope json.h:247:21: error: expected ';' before '=' token json.h:247:21: error: expected unqualified-id before '=' token json.h:249:11: error: expected nested-name-specifier before 'const_reference' json.h:249:11: error: using-declaration for non-member at class scope json.h:249:27: error: expected ';' before '=' token json.h:249:27: error: expected unqualified-id before '=' token json.h:252:11: error: expected nested-name-specifier before 'difference_type' json.h:252:11: error: using-declaration for non-member at class scope json.h:252:27: error: expected ';' before '=' token json.h:252:27: error: expected unqualified-id before '=' token json.h:254:11: error: expected nested-name-specifier before 'size_type' json.h:254:11: error: using-declaration for non-member at class scope json.h:254:21: error: expected ';' before '=' token json.h:254:21: error: expected unqualified-id before '=' token json.h:257:11: error: expected nested-name-specifier before 'allocator_type' json.h:257:11: error: using-declaration for non-member at class scope json.h:257:26: error: expected ';' before '=' token json.h:257:26: error: expected unqualified-id before '=' token json.h:260:11: error: expected nested-name-specifier before 'pointer' json.h:260:11: error: using-declaration for non-member at class scope json.h:260:19: error: expected ';' before '=' token json.h:260:19: error: expected unqualified-id before '=' token json.h:262:11: error: expected nested-name-specifier before 'const_pointer' json.h:262:11: error: using-declaration for non-member at class scope json.h:262:25: error: expected ';' before '=' token json.h:262:25: error: expected unqualified-id before '=' token json.h:269:11: error: expected nested-name-specifier before 'reverse_iterator' json.h:269:11: error: using-declaration for non-member at class scope json.h:269:28: error: expected ';' before '=' token json.h:269:28: error: expected unqualified-id before '=' token json.h:271:11: error: expected nested-name-specifier before 'const_reverse_iterator' json.h:271:11: error: using-declaration for non-member at class scope json.h:271:34: error: expected ';' before '=' token json.h:271:34: error: expected unqualified-id before '=' token json.h:279:12: error: 'allocator_type' does not name a type json.h:377:11: error: expected nested-name-specifier before 'object_t' json.h:377:11: error: using-declaration for non-member at class scope json.h:377:20: error: expected ';' before '=' token json.h:377:20: error: expected unqualified-id before '=' token json.h:427:11: error: expected nested-name-specifier before 'array_t' json.h:427:11: error: using-declaration for non-member at class scope json.h:427:19: error: expected ';' before '=' token json.h:427:19: error: expected unqualified-id before '=' token json.h:474:11: error: expected nested-name-specifier before 'string_t' json.h:474:11: error: using-declaration for non-member at class scope json.h:474:20: error: expected ';' before '=' token json.h:474:20: error: expected unqualified-id before '=' token json.h:500:11: error: expected nested-name-specifier before 'boolean_t' json.h:500:11: error: using-declaration for non-member at class scope json.h:500:21: error: expected ';' before '=' token json.h:500:21: error: expected unqualified-id before '=' token json.h:572:11: error: expected nested-name-specifier before 'number_integer_t' json.h:572:11: error: using-declaration for non-member at class scope json.h:572:28: error: expected ';' before '=' token json.h:572:28: error: expected unqualified-id before '=' token json.h:643:11: error: expected nested-name-specifier before 'number_unsigned_t' json.h:643:11: error: using-declaration for non-member at class scope json.h:643:29: error: expected ';' before '=' token json.h:643:29: error: expected unqualified-id before '=' token json.h:711:11: error: expected nested-name-specifier before 'number_float_t' json.h:711:11: error: using-declaration for non-member at class scope json.h:711:26: error: expected ';' before '=' token json.h:711:26: error: expected unqualified-id before '=' token json.h:804:9: error: 'object_t' does not name a type json.h:806:9: error: 'array_t' does not name a type json.h:808:9: error: 'string_t' does not name a type json.h:810:9: error: 'boolean_t' does not name a type json.h:812:9: error: 'number_integer_t' does not name a type json.h:814:9: error: 'number_unsigned_t' does not name a type json.h:816:9: error: 'number_float_t' does not name a type json.h:821:30: error: expected ')' before 'v' json.h:823:37: error: expected ')' before 'v' json.h:825:38: error: expected ')' before 'v' json.h:827:35: error: expected ')' before 'v' json.h:883:26: error: 'string_t' does not name a type json.h:883:36: error: ISO C++ forbids declaration of 'value' with no type [-fpermissive] json.h:889:26: error: 'object_t' does not name a type json.h:889:36: error: ISO C++ forbids declaration of 'value' with no type [-fpermissive] json.h:889:9: error: 'nlohmann::basic_json::json_value::json_value(const int&)' cannot be overloaded json.h:883:9: error: with 'nlohmann::basic_json::json_value::json_value(const int&)' json.h:895:26: error: 'array_t' does not name a type json.h:895:35: error: ISO C++ forbids declaration of 'value' with no type [-fpermissive] json.h:895:9: error: 'nlohmann::basic_json::json_value::json_value(const int&)' cannot be overloaded json.h:883:9: error: with 'nlohmann::basic_json::json_value::json_value(const int&)' In file included from ndjson.cpp:8:0: json.h:1000:11: error: expected nested-name-specifier before 'parser_callback_t' json.h:1000:11: error: using-declaration for non-member at class scope json.h:1000:29: error: expected ';' before '=' token json.h:1000:29: error: expected unqualified-id before '=' token json.h:1135:22: error: 'object_t' does not name a type json.h:1135:32: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1169:109: error: template argument 1 is invalid json.h:1170:108: error: template argument 1 is invalid json.h:1200:22: error: 'array_t' does not name a type json.h:1200:31: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1200:5: error: 'nlohmann::basic_json::basic_json(const int&)' cannot be overloaded json.h:1135:5: error: with 'nlohmann::basic_json::basic_json(const int&)' json.h:1234:88: error: template argument 2 is invalid json.h:1235:94: error: template argument 2 is invalid json.h:1236:96: error: template argument 2 is invalid json.h:1237:102: error: template argument 2 is invalid json.h:1238:83: error: template argument 2 is invalid json.h:1239:89: error: template argument 2 is invalid json.h:1240:106: error: template argument 1 is invalid json.h:1242:5: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(const CompatibleArrayType&)' cannot be overloaded json.h:1172:5: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(const CompatibleObjectType&)' json.h:1272:22: error: 'string_t' does not name a type json.h:1272:32: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1272:5: error: 'nlohmann::basic_json::basic_json(const int&)' cannot be overloaded json.h:1135:5: error: with 'nlohmann::basic_json::basic_json(const int&)' json.h:1298:31: error: 'string_t' has not been declared json.h:1329:41: error: 'string_t' was not declared in this scope json.h:1329:71: error: template argument 1 is invalid json.h:1329:84: error: template argument 1 is invalid json.h:1331:5: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(const CompatibleStringType&)' cannot be overloaded json.h:1172:5: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(const CompatibleObjectType&)' json.h:1351:26: error: expected ')' before 'val' json.h:1383:38: error: 'number_integer_t' was not declared in this scope json.h:1383:54: error: template argument 2 is invalid json.h:1386:22: error: 'number_integer_t' does not name a type json.h:1386:39: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1451:40: error: 'number_integer_t' was not declared in this scope json.h:1451:85: error: template argument 1 is invalid json.h:1454:45: error: template argument 1 is invalid json.h:1483:38: error: 'number_unsigned_t' was not declared in this scope json.h:1483:55: error: template argument 2 is invalid json.h:1486:22: error: 'number_unsigned_t' does not name a type json.h:1486:40: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1486:5: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template::value) && ), int>::type > nlohmann::basic_json::basic_json(int)' cannot be overloaded json.h:1386:5: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template::value) && ), int>::type > nlohmann::basic_json::basic_json(int)' json.h:1514:41: error: 'number_unsigned_t' was not declared in this scope json.h:1514:88: error: template argument 1 is invalid json.h:1517:47: error: template argument 1 is invalid json.h:1519:5: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(CompatibleNumberUnsignedType)' cannot be overloaded json.h:1456:5: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > nlohmann::basic_json::basic_json(CompatibleNumberIntegerType)' json.h:1550:22: error: 'number_float_t' does not name a type json.h:1550:37: error: ISO C++ forbids declaration of 'val' with no type [-fpermissive] json.h:1550:5: error: 'nlohmann::basic_json::basic_json(int)' cannot be overloaded json.h:1417:5: error: with 'nlohmann::basic_json::basic_json(int)' json.h:1596:40: error: 'number_float_t' was not declared in this scope json.h:1596:81: error: template argument 1 is invalid json.h:1597:74: error: template argument 1 is invalid json.h:1821:26: error: expected ')' before 'cnt' json.h:1867:72: error: template argument 2 is invalid json.h:1868:78: error: template argument 2 is invalid json.h:1869:24: error: template argument 1 is invalid json.h:1980:48: error: 'parser_callback_t' does not name a type json.h:1980:71: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] json.h:2126:5: error: 'reference' does not name a type json.h:2231:5: error: 'string_t' does not name a type json.h:2620:88: error: wrong number of template arguments (1, should be 2) d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/type_traits:789:12: error: provided for 'template struct std::is_convertible' json.h:2621:39: error: 'basic_json_t' was not declared in this scope json.h:2621:76: error: template argument 1 is invalid json.h:2622:24: error: template argument 1 is invalid json.h:2636:5: error: 'object_t' does not name a type json.h:2651:39: error: 'basic_json_t' was not declared in this scope json.h:2651:75: error: template argument 1 is invalid json.h:2652:36: error: 'basic_json_t' was not declared in this scope json.h:2652:72: error: template argument 1 is invalid json.h:2656:24: error: template argument 1 is invalid json.h:2657:7: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > T nlohmann::basic_json::get_impl(T*) const' cannot be overloaded json.h:2623:7: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > T nlohmann::basic_json::get_impl(T*) const' json.h:2678:39: error: 'basic_json_t' was not declared in this scope json.h:2678:54: error: template argument 1 is invalid json.h:2679:36: error: 'basic_json_t' was not declared in this scope json.h:2679:51: error: template argument 1 is invalid json.h:2680:24: error: template argument 1 is invalid json.h:2719:5: error: 'array_t' does not name a type json.h:2734:39: error: 'string_t' was not declared in this scope json.h:2734:50: error: template argument 1 is invalid json.h:2735:24: error: template argument 1 is invalid json.h:2736:7: error: 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > T nlohmann::basic_json::get_impl(T*) const' cannot be overloaded json.h:2623:7: error: with 'template class ObjectType, template class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType> template > T nlohmann::basic_json::get_impl(T*) const' json.h:2780:15: error: 'boolean_t' does not name a type json.h:2788:5: error: 'object_t' does not name a type json.h:2794:21: error: 'object_t' does not name a type json.h:2800:5: error: 'array_t' does not name a type json.h:2806:21: error: 'array_t' does not name a type json.h:2812:5: error: 'string_t' does not name a type json.h:2818:21: error: 'string_t' does not name a type json.h:2824:5: error: 'boolean_t' does not name a type json.h:2830:21: error: 'boolean_t' does not name a type json.h:2836:5: error: 'number_integer_t' does not name a type json.h:2842:21: error: 'number_integer_t' does not name a type json.h:2848:5: error: 'number_unsigned_t' does not name a type json.h:2854:21: error: 'number_unsigned_t' does not name a type json.h:2860:5: error: 'number_float_t' does not name a type json.h:2866:21: error: 'number_float_t' does not name a type json.h:3164:81: error: template argument 2 is invalid json.h:3166:103: error: template argument 1 is invalid json.h:3168:26: error: wrong number of template arguments (3, should be 2) d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/type_traits:406:12: error: provided for 'template struct std::is_same' json.h:3168:36: error: expression '!(std::is_pointer::value) && && =0' is not a constant-expression json.h:3168:38: error: template argument 1 is invalid json.h:3169:5: error: expected identifier before 'operator' json.h:3169:26: error: 'const' and 'volatile' function specifiers on 'operator ValueType' invalid in parameter declaration json.h:3170:5: error: expected '>' before '{' token json.h:3170:5: error: expected unqualified-id before '{' token json.h:3208:5: error: 'reference' does not name a type json.h:3251:5: error: 'const_reference' does not name a type json.h:3298:5: error: 'reference' does not name a type json.h:3345:5: error: 'const_reference' does not name a type json.h:3391:5: error: 'reference' does not name a type json.h:3439:5: error: 'const_reference' does not name a type json.h:3479:5: error: 'reference' does not name a type json.h:3530:5: error: 'const_reference' does not name a type json.h:3572:5: error: 'reference' does not name a type json.h:3607:5: error: 'const_reference' does not name a type json.h:3640:5: error: 'reference' does not name a type json.h:3692:5: error: 'const_reference' does not name a type json.h:3756:39: error: 'basic_json_t' was not declared in this scope json.h:3756:62: error: template argument 1 is invalid json.h:3757:24: error: template argument 1 is invalid json.h:3758:21: error: expected primary-expression before 'const' json.h:3758:71: error: expected primary-expression before 'default_value' json.h:3758:84: sorry, unimplemented: non-static data member initializers json.h:3758:86: error: expected ';' before 'const' json.h:3778:5: error: data member 'value' cannot be a member template json.h:3784:5: error: 'string_t' does not name a type json.h:3832:39: error: 'basic_json_t' was not declared in this scope json.h:3832:62: error: template argument 1 is invalid json.h:3833:24: error: template argument 1 is invalid json.h:3859:5: error: 'string_t' does not name a type json.h:3889:5: error: 'reference' does not name a type json.h:3897:5: error: 'const_reference' does not name a type json.h:3932:5: error: 'reference' does not name a type json.h:3942:5: error: 'const_reference' does not name a type json.h:3996:78: error: template argument 2 is invalid json.h:3997:84: error: template argument 2 is invalid json.h:3998:24: error: template argument 1 is invalid json.h:4105:78: error: template argument 2 is invalid json.h:4106:84: error: template argument 2 is invalid json.h:4107:24: error: template argument 1 is invalid json.h:4197:5: error: 'size_type' does not name a type json.h:4234:22: error: 'size_type' does not name a type json.h:4234:32: error: ISO C++ forbids declaration of 'idx' with no type [-fpermissive] json.h:4280:28: error: 'object_t' has not been declared json.h:4296:34: error: 'object_t' has not been declared json.h:4326:5: error: 'size_type' does not name a type json.h:4507:5: error: 'reverse_iterator' does not name a type json.h:4515:5: error: 'const_reverse_iterator' does not name a type json.h:4544:5: error: 'reverse_iterator' does not name a type json.h:4552:5: error: 'const_reverse_iterator' does not name a type json.h:4581:5: error: 'const_reverse_iterator' does not name a type json.h:4610:5: error: 'const_reverse_iterator' does not name a type json.h:4631:55: error: 'reference' has not been declared json.h:4639:61: error: 'const_reference' has not been declared json.h:4639:44: error: 'static nlohmann::basic_json::iteration_proxy::const_iterator> nlohmann::basic_json::iterator_wrapper(int)' cannot be overloaded json.h:4631:38: error: with 'static nlohmann::basic_json::iteration_proxy::iterator> nlohmann::basic_json::iterator_wrapper(int)' json.h:4759:5: error: 'size_type' does not name a type json.h:4825:5: error: 'size_type' does not name a type json.h:4983:5: error: 'reference' does not name a type json.h:5017:5: error: 'reference' does not name a type json.h:5043:35: error: 'object_t' has not been declared json.h:5067:5: error: 'reference' does not name a type json.h:5115:5: error: 'reference' does not name a type json.h:5198:41: error: 'size_type' has not been declared json.h:5345:15: error: 'reference' has not been declared json.h:5346:9: error: 'is_nothrow_move_constructible' is not a member of 'std' json.h:5346:51: error: expected primary-expression before '>' token json.h:5346:52: error: '::value' has not been declared json.h:5347:9: error: 'is_nothrow_move_assignable' is not a member of 'std' json.h:5347:48: error: expected primary-expression before '>' token json.h:5347:49: error: '::value' has not been declared json.h:5348:9: error: 'is_nothrow_move_constructible' is not a member of 'std' json.h:5348:54: error: expected primary-expression before '>' token json.h:5348:55: error: '::value' has not been declared json.h:5349:9: error: 'is_nothrow_move_assignable' is not a member of 'std' json.h:5349:51: error: expected primary-expression before '>' token json.h:5349:52: error: '::value' has not been declared json.h:5377:15: error: 'array_t' has not been declared json.h:5410:15: error: 'object_t' has not been declared json.h:5410:10: error: 'void nlohmann::basic_json::swap(int&)' cannot be overloaded json.h:5377:10: error: with 'void nlohmann::basic_json::swap(int&)' json.h:5443:15: error: 'string_t' has not been declared json.h:5443:10: error: 'void nlohmann::basic_json::swap(int&)' cannot be overloaded json.h:5377:10: error: with 'void nlohmann::basic_json::swap(int&)' json.h:5523:28: error: 'const_reference' has not been declared json.h:5523:49: error: 'const_reference' has not been declared json.h:5523:70: error: 'bool nlohmann::operator==(int, int)' must have an argument of class or enumerated type json.h:5616:28: error: 'const_reference' has not been declared json.h:5616:63: error: 'bool nlohmann::operator==(int, std::nullptr_t)' must have an argument of class or enumerated type json.h:5625:44: error: 'const_reference' has not been declared json.h:5625:63: error: 'bool nlohmann::operator==(std::nullptr_t, int)' must have an argument of class or enumerated type json.h:5646:28: error: 'const_reference' has not been declared json.h:5646:49: error: 'const_reference' has not been declared json.h:5646:70: error: 'bool nlohmann::operator!=(int, int)' must have an argument of class or enumerated type json.h:5669:28: error: 'const_reference' has not been declared json.h:5669:63: error: 'bool nlohmann::operator!=(int, std::nullptr_t)' must have an argument of class or enumerated type json.h:5678:44: error: 'const_reference' has not been declared json.h:5678:63: error: 'bool nlohmann::operator!=(std::nullptr_t, int)' must have an argument of class or enumerated type json.h:5707:27: error: 'const_reference' has not been declared json.h:5707:48: error: 'const_reference' has not been declared json.h:5707:69: error: 'bool nlohmann::operator<(int, int)' must have an argument of class or enumerated type json.h:5802:28: error: 'const_reference' has not been declared json.h:5802:49: error: 'const_reference' has not been declared json.h:5802:70: error: 'bool nlohmann::operator<=(int, int)' must have an argument of class or enumerated type json.h:5824:27: error: 'const_reference' has not been declared json.h:5824:48: error: 'const_reference' has not been declared json.h:5824:69: error: 'bool nlohmann::operator>(int, int)' must have an argument of class or enumerated type json.h:5846:28: error: 'const_reference' has not been declared json.h:5846:49: error: 'const_reference' has not been declared json.h:5846:70: error: 'bool nlohmann::operator>=(int, int)' must have an argument of class or enumerated type json.h:5958:35: error: 'string_t' does not name a type json.h:5958:45: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] json.h:5959:35: error: 'parser_callback_t' does not name a type json.h:5959:58: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] json.h:5989:35: error: 'parser_callback_t' does not name a type json.h:5989:58: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] json.h:5998:35: error: 'parser_callback_t' does not name a type json.h:5998:58: error: ISO C++ forbids declaration of 'cb' with no type [-fpermissive] json.h:6091:42: error: 'string_t' does not name a type json.h:6091:52: error: ISO C++ forbids declaration of 's' with no type [-fpermissive] json.h:6139:12: error: 'string_t' does not name a type json.h:6409:31: sorry, unimplemented: non-static data member initializers json.h:6412:26: error: a brace-enclosed initializer is not allowed here before '{' token json.h:6412:27: sorry, unimplemented: non-static data member initializers json.h:6457:18: error: expected type-specifier before 'difference_type' json.h:6463:28: error: expected type-specifier before 'difference_type' json.h:6469:26: error: 'difference_type' does not name a type json.h:6470:26: error: 'difference_type' does not name a type json.h:6473:9: error: 'difference_type' does not name a type json.h:6486:18: error: 'object_t' has not been declared json.h:6488:18: error: 'array_t' has not been declared json.h:6510:34: sorry, unimplemented: non-static data member initializers json.h:6510:34: error: ISO C++ forbids in-class initialization of non-const static member 'array_index' json.h:6621:15: error: expected nested-name-specifier before 'value_type' json.h:6621:15: error: using-declaration for non-member at class scope json.h:6621:26: error: expected ';' before '=' token json.h:6621:26: error: expected unqualified-id before '=' token json.h:6623:15: error: expected nested-name-specifier before 'difference_type' json.h:6623:15: error: using-declaration for non-member at class scope json.h:6623:31: error: expected ';' before '=' token json.h:6623:31: error: expected unqualified-id before '=' token json.h:6625:15: error: expected nested-name-specifier before 'pointer' json.h:6625:15: error: using-declaration for non-member at class scope json.h:6625:23: error: expected ';' before '=' token json.h:6625:23: error: expected unqualified-id before '=' token json.h:6627:15: error: expected nested-name-specifier before 'reference' json.h:6627:15: error: using-declaration for non-member at class scope json.h:6627:25: error: expected ';' before '=' token json.h:6627:25: error: expected unqualified-id before '=' token json.h:6629:15: error: expected nested-name-specifier before 'iterator_category' json.h:6629:15: error: using-declaration for non-member at class scope json.h:6629:33: error: expected ';' before '=' token json.h:6629:33: error: expected unqualified-id before '=' token json.h:6640:41: error: expected ')' before 'object' json.h:10443:31: error: expected '}' before end of line json.h:10443:31: error: expected unqualified-id before end of line json.h:10443:31: error: expected '}' before end of line In file included from ndjson.cpp:8:0: json.h: In constructor 'nlohmann::basic_json::json_value::json_value(nlohmann::basic_json::value_t)': json.h:835:37: error: 'object_t' was not declared in this scope json.h:841:36: error: 'array_t' was not declared in this scope json.h:847:21: error: 'string' was not declared in this scope json.h:847:21: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stringfwd.h:65:33: note: 'std::string' json.h:847:37: error: 'string_t' was not declared in this scope json.h:853:21: error: 'boolean' was not declared in this scope json.h:853:46: error: there are no arguments to 'boolean_t' that depend on a template parameter, so a declaration of 'boolean_t' must be available [-fpermissive] json.h:853:46: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) json.h:859:21: error: 'number_integer' was not declared in this scope json.h:859:56: error: there are no arguments to 'number_integer_t' that depend on a template parameter, so a declaration of 'number_integer_t' must be available [-fpermissive] json.h:865:21: error: 'number_unsigned' was not declared in this scope json.h:865:58: error: there are no arguments to 'number_unsigned_t' that depend on a template parameter, so a declaration of 'number_unsigned_t' must be available [-fpermissive] json.h:871:21: error: 'number_float' was not declared in this scope json.h:871:54: error: there are no arguments to 'number_float_t' that depend on a template parameter, so a declaration of 'number_float_t' must be available [-fpermissive] json.h: In constructor 'nlohmann::basic_json::json_value::json_value(const int&)': json.h:885:13: error: 'string' was not declared in this scope json.h:885:13: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../include/c++/4.6.3/bits/stringfwd.h:65:33: note: 'std::string' json.h:885:29: error: 'string_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::json_value::json_value(const int&)': json.h:891:29: error: 'object_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::json_value::json_value(const int&)': json.h:897:28: error: 'array_t' was not declared in this scope In file included from ndjson.cpp:8:0: json.h: In constructor 'nlohmann::basic_json::basic_json(const CompatibleObjectType&)': json.h:1177:33: error: 'object_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::basic_json(const CompatibleArrayType&)': json.h:1247:32: error: 'array_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::basic_json(const int*)': json.h:1299:34: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h: In constructor 'nlohmann::basic_json::basic_json(int)': json.h:1419:31: error: expected type-specifier before 'number_integer_t' json.h:1419:31: error: expected '>' before 'number_integer_t' json.h:1419:31: error: expected '(' before 'number_integer_t' json.h:1419:31: error: 'number_integer_t' was not declared in this scope json.h:1422:5: error: expected '{' at end of input json.h: In constructor 'nlohmann::basic_json::basic_json(CompatibleNumberIntegerType)': json.h:1458:31: error: expected type-specifier before 'number_integer_t' json.h:1458:31: error: expected '>' before 'number_integer_t' json.h:1458:31: error: expected '(' before 'number_integer_t' json.h:1458:31: error: 'number_integer_t' was not declared in this scope json.h:1461:5: error: expected '{' at end of input json.h: In constructor 'nlohmann::basic_json::basic_json(CompatibleNumberUnsignedType)': json.h:1521:31: error: expected type-specifier before 'number_unsigned_t' json.h:1521:31: error: expected '>' before 'number_unsigned_t' json.h:1521:31: error: expected '(' before 'number_unsigned_t' json.h:1521:31: error: 'number_unsigned_t' was not declared in this scope json.h:1524:5: error: expected '{' at end of input json.h: In constructor 'nlohmann::basic_json::basic_json(std::initializer_list >, bool, nlohmann::basic_json::value_t)': json.h:1717:36: error: 'array_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::basic_json(InputIT, InputIT)': json.h:1941:41: error: 'object_t' was not declared in this scope json.h:1947:40: error: 'array_t' was not declared in this scope json.h: In constructor 'nlohmann::basic_json::basic_json(std::istream&, int)': json.h:1982:29: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In destructor 'nlohmann::basic_json::~basic_json()': json.h:2167:31: error: 'object_t' was not declared in this scope json.h:2167:39: error: template argument 1 is invalid json.h:2167:46: error: invalid type in declaration before ';' token json.h:2168:23: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:2169:23: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h:2175:31: error: 'array_t' was not declared in this scope json.h:2175:38: error: template argument 1 is invalid json.h:2175:45: error: invalid type in declaration before ';' token json.h:2176:23: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:2177:23: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h:2183:31: error: 'string_t' was not declared in this scope json.h:2183:39: error: template argument 1 is invalid json.h:2183:46: error: invalid type in declaration before ';' token json.h:2184:23: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:2185:23: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h: In static member function 'static ReferenceType nlohmann::basic_json::get_ref_impl(ThisType&)': json.h:2886:15: error: expected nested-name-specifier before 'PointerType' json.h:2886:15: error: 'PointerType' has not been declared json.h:2886:27: error: expected ';' before '=' token json.h:2886:27: error: expected primary-expression before '=' token json.h:2886:75: error: expected '(' before ';' token json.h:2889:41: error: 'PointerType' was not declared in this scope json.h: In member function 'PointerType nlohmann::basic_json::get_ptr()': json.h:3034:15: error: expected nested-name-specifier before 'pointee_t' json.h:3034:15: error: 'pointee_t' has not been declared json.h:3034:25: error: expected ';' before '=' token json.h:3034:25: error: expected primary-expression before '=' token json.h:3036:77: error: expected '(' before ';' token json.h:3039:26: error: 'object_t' was not declared in this scope json.h:3039:36: error: 'pointee_t' was not declared in this scope json.h:3039:45: error: template argument 1 is invalid json.h:3039:45: error: template argument 2 is invalid json.h:3040:29: error: 'array_t' was not declared in this scope json.h:3040:38: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3040:47: error: template argument 1 is invalid json.h:3040:47: error: template argument 2 is invalid json.h:3041:29: error: 'string_t' was not declared in this scope json.h:3041:39: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3041:48: error: template argument 1 is invalid json.h:3041:48: error: template argument 2 is invalid json.h:3042:29: error: 'boolean_t' was not declared in this scope json.h:3042:40: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3042:49: error: template argument 1 is invalid json.h:3042:49: error: template argument 2 is invalid json.h:3043:29: error: 'number_integer_t' was not declared in this scope json.h:3043:47: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3043:56: error: template argument 1 is invalid json.h:3043:56: error: template argument 2 is invalid json.h:3044:29: error: 'number_unsigned_t' was not declared in this scope json.h:3044:48: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3044:57: error: template argument 1 is invalid json.h:3044:57: error: template argument 2 is invalid json.h:3045:29: error: 'number_float_t' was not declared in this scope json.h:3045:45: error: the value of 'pointee_t' is not usable in a constant expression json.h:3039:36: note: 'pointee_t' was not declared 'constexpr' json.h:3045:54: error: template argument 1 is invalid json.h:3045:54: error: template argument 2 is invalid json.h: In member function 'constexpr const PointerType nlohmann::basic_json::get_ptr() const': json.h:3064:15: error: expected nested-name-specifier before 'pointee_t' json.h:3064:15: error: 'pointee_t' has not been declared json.h:3064:25: error: expected ';' before '=' token json.h:3064:25: error: expected primary-expression before '=' token json.h:3066:77: error: expected '(' before ';' token json.h:3069:26: error: 'object_t' was not declared in this scope json.h:3069:36: error: 'pointee_t' was not declared in this scope json.h:3069:45: error: template argument 1 is invalid json.h:3069:45: error: template argument 2 is invalid json.h:3070:29: error: 'array_t' was not declared in this scope json.h:3070:38: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3070:47: error: template argument 1 is invalid json.h:3070:47: error: template argument 2 is invalid json.h:3071:29: error: 'string_t' was not declared in this scope json.h:3071:39: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3071:48: error: template argument 1 is invalid json.h:3071:48: error: template argument 2 is invalid json.h:3072:29: error: 'boolean_t' was not declared in this scope json.h:3072:40: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3072:49: error: template argument 1 is invalid json.h:3072:49: error: template argument 2 is invalid json.h:3073:29: error: 'number_integer_t' was not declared in this scope json.h:3073:47: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3073:56: error: template argument 1 is invalid json.h:3073:56: error: template argument 2 is invalid json.h:3074:29: error: 'number_unsigned_t' was not declared in this scope json.h:3074:48: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3074:57: error: template argument 1 is invalid json.h:3074:57: error: template argument 2 is invalid json.h:3075:29: error: 'number_float_t' was not declared in this scope json.h:3075:45: error: the value of 'pointee_t' is not usable in a constant expression json.h:3069:36: note: 'pointee_t' was not declared 'constexpr' json.h:3075:54: error: template argument 1 is invalid json.h:3075:54: error: template argument 2 is invalid json.h: In member function 'InteratorType nlohmann::basic_json::erase(InteratorType)': json.h:4025:35: error: 'string_t' was not declared in this scope json.h:4025:43: error: template argument 1 is invalid json.h:4025:50: error: invalid type in declaration before ';' token json.h:4026:27: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:4027:27: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h: In member function 'InteratorType nlohmann::basic_json::erase(InteratorType, InteratorType)': json.h:4134:35: error: 'string_t' was not declared in this scope json.h:4134:43: error: template argument 1 is invalid json.h:4134:50: error: invalid type in declaration before ';' token json.h:4135:27: error: request for member 'destroy' in 'alloc', which is of non-class type 'int' json.h:4136:27: error: request for member 'deallocate' in 'alloc', which is of non-class type 'int' json.h: In member function 'void nlohmann::basic_json::erase(int)': json.h:4239:29: error: there are no arguments to 'size' that depend on a template parameter, so a declaration of 'size' must be available [-fpermissive] json.h:4241:58: error: 'to_string' is not a member of 'std' json.h:4244:71: error: expected type-specifier before 'difference_type' json.h:4244:71: error: expected '>' before 'difference_type' json.h:4244:71: error: expected '(' before 'difference_type' json.h:4244:71: error: 'difference_type' was not declared in this scope json.h:4244:93: error: expected ')' before ';' token json.h: In member function 'void nlohmann::basic_json::push_back(std::initializer_list >)': json.h:5102:19: error: 'string_t' does not name a type json.h:5103:32: error: 'object_t' has not been declared json.h:5103:53: error: 'key' was not declared in this scope json.h: In member function 'void nlohmann::basic_json::swap(int)': json.h:5352:33: error: request for member 'm_type' in 'other', which is of non-class type 'int' json.h:5353:34: error: request for member 'm_value' in 'other', which is of non-class type 'int' json.h: In static member function 'static nlohmann::basic_json nlohmann::basic_json::parse(const int&, int)': json.h:5961:28: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In static member function 'static nlohmann::basic_json nlohmann::basic_json::parse(std::istream&, int)': json.h:5991:28: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In static member function 'static nlohmann::basic_json nlohmann::basic_json::parse(std::istream&&, int)': json.h:6000:28: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In function 'std::istream& nlohmann::operator<<(nlohmann::basic_json&, std::istream&)': json.h:6028:21: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In function 'std::istream& nlohmann::operator>>(std::istream&, nlohmann::basic_json&)': json.h:6038:21: error: there are no arguments to 'parser' that depend on a template parameter, so a declaration of 'parser' must be available [-fpermissive] json.h: In static member function 'static std::size_t nlohmann::basic_json::extra_space(const int&)': json.h:6093:34: error: request for member 'begin' in 's', which is of non-class type 'const int' json.h:6093:45: error: request for member 'end' in 's', which is of non-class type 'const int' json.h:6094:56: error: 'string_t' has not been declared json.h: In member function 'void nlohmann::basic_json::dump(std::ostream&, bool, unsigned int, unsigned int) const': json.h:6296:50: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h:6309:46: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h:6336:50: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h:6347:46: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h:6353:35: error: there are no arguments to 'string_t' that depend on a template parameter, so a declaration of 'string_t' must be available [-fpermissive] json.h: In member function 'void nlohmann::basic_json::primitive_iterator_t::set_begin()': json.h:6435:13: error: 'm_it' was not declared in this scope json.h:6435:20: error: 'begin_value' was not declared in this scope json.h: In member function 'void nlohmann::basic_json::primitive_iterator_t::set_end()': json.h:6441:13: error: 'm_it' was not declared in this scope json.h:6441:20: error: 'end_value' was not declared in this scope json.h: In member function 'constexpr bool nlohmann::basic_json::primitive_iterator_t::is_begin() const': json.h:6447:21: error: 'm_it' was not declared in this scope json.h:6447:29: error: 'begin_value' was not declared in this scope json.h: In member function 'constexpr bool nlohmann::basic_json::primitive_iterator_t::is_end() const': json.h:6453:21: error: 'm_it' was not declared in this scope json.h:6453:29: error: 'end_value' was not declared in this scope json.h: In member function 'typename nlohmann::basic_json::string_t nlohmann::basic_json::iteration_proxy::iteration_proxy_internal::key() const': json.h:6548:32: error: 'to_string' is not a member of 'std' json.h: At global scope: json.h:10443:31: error: expected unqualified-id before end of line json.h:10443:31: error: expected '}' before end of line json.h:10443:31: error: expected declaration before end of line make[1]: *** [ndjson.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpmISlPt/R.INSTALL36906a4661e0/ndjson/src-i386' Warning: running command 'make -f "Makevars" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="ndjson.dll" OBJECTS="RcppExports.o gzstream.o ndjson.o" symbols.rds' had status 2 ERROR: compilation failed for package 'ndjson' * removing 'd:/Rcompile/CRANpkg/lib/3.2/ndjson'