Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/json.spec'], user='mockbuild'nspawn_args=[]printOutput=Falsegid=425uid=1000logger=env={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/f27-build-8156708-727041/root'shell=Falsetimeout=172800) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/json.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/json-2.0.2-2.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/json.spec'], user='mockbuild'nspawn_args=[]printOutput=Falsegid=425uid=1000logger=env={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/f27-build-8156708-727041/root'shell=Falsetimeout=172800) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/json.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.moqs5d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf json-2.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd json-2.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/json.hpp src/json.hpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JQ5zXf + umask 022 + cd /builddir/build/BUILD + cd json-2.0.2 + doxygen doc/Doxyfile warning: tag INPUT: input source `../src/json.hpp' does not exist warning: tag INPUT: input source `index.md' does not exist warning: source examples is not a readable file or directory... skipping. warning: source images is not a readable file or directory... skipping. warning: source ../src/json.hpp is not a readable file or directory... skipping. warning: source index.md is not a readable file or directory... skipping. sh: dot: command not found error: Problems running dot: exit code=127, command='dot', arguments='"/builddir/build/BUILD/json-2.0.2/html/graph_legend.dot" -Tsvg -o "/builddir/build/BUILD/json-2.0.2/html/graph_legend.svg"' error: Problem extracting size from SVG file /builddir/build/BUILD/json-2.0.2/html/graph_legend.svg error: Style sheet 'css/mylayout.css' specified by HTML_EXTRA_STYLESHEET does not exist! + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FglPci + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/json-2.0.2-2.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/json-2.0.2-2.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/json-2.0.2-2.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/json-2.0.2-2.fc27.x86_64 + cd json-2.0.2 + mkdir -p /builddir/build/BUILDROOT/json-2.0.2-2.fc27.x86_64/usr/include + install -p -m 0644 src/json.hpp /builddir/build/BUILDROOT/json-2.0.2-2.fc27.x86_64/usr/include/json.hpp + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1VMyEk + umask 022 + cd /builddir/build/BUILD + cd json-2.0.2 + make cppcheck cppcheck --enable=all --inconclusive --std=c++11 src/json.hpp Checking src/json.hpp ... [src/json.hpp]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 16 configurations. Use --force to check all configurations. [src/json.hpp:792]: (error) syntax error Checking src/json.hpp: JSON_NOEXCEPTION;_CPPUNWIND;__EXCEPTIONS;__cpp_exceptions... Checking src/json.hpp: _MSC_VER... [src/json.hpp:1449]: (information) Skipping configuration '_MSC_VER' since the value of '_MSC_VER' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. Checking src/json.hpp: _WIN32... Checking src/json.hpp: __APPLE__... Checking src/json.hpp: __GNUC__... Checking src/json.hpp: __GNUC__;__GNUG__... Checking src/json.hpp: __GNUC__;__GNUG__;__clang__... Checking src/json.hpp: __HP_aCC;__HP_cc... Checking src/json.hpp: __IBMCPP__... [src/json.hpp:1447]: (information) Skipping configuration '__IBMCPP__' since the value of '__IBMCPP__' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. Checking src/json.hpp: __ICC;__INTEL_COMPILER... [src/json.hpp:1441]: (information) Skipping configuration '__ICC;__INTEL_COMPILER' since the value of '__INTEL_COMPILER' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. Checking src/json.hpp: __PGI... [src/json.hpp:1451]: (information) Skipping configuration '__PGI' since the value of '__PGI' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. (information) Cppcheck cannot find all the include files (use --check-config for details) + make json_unit g++ -std=c++11 -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wfloat-equal -I src -I test test/src/unit.cpp -o json_unit test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____52()': test/src/unit.cpp:1292:22: error: no matching function for call to 'nlohmann::basic_json<>::basic_json(std::stringstream&)' json j(ss); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:2756:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json&&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer] basic_json(basic_json&& other) noexcept ^~~~~~~~~~ src/json.hpp:2756:5: note: no known conversion for argument 1 from 'std::stringstream {aka std::__cxx11::basic_stringstream}' to 'nlohmann::basic_json<>&&' src/json.hpp:2679:5: note: candidate: nlohmann::basic_json::basic_json(const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer] basic_json(const basic_json& other) ^~~~~~~~~~ src/json.hpp:2679:5: note: no known conversion for argument 1 from 'std::stringstream {aka std::__cxx11::basic_stringstream}' to 'const nlohmann::basic_json<>&' src/json.hpp:2562:5: note: candidate: template::iter_impl > >::value || std::is_same::iter_impl > >::value), int>::type > nlohmann::basic_json::basic_json(InputIT, InputIT) basic_json(InputIT first, InputIT last) ^~~~~~~~~~ src/json.hpp:2562:5: note: template argument deduction/substitution failed: test/src/unit.cpp:1292:22: note: candidate expects 2 arguments, 1 provided json j(ss); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:2510:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json::size_type, const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::size_type = long unsigned int] basic_json(size_type cnt, const basic_json& val) ^~~~~~~~~~ src/json.hpp:2510:5: note: candidate expects 2 arguments, 1 provided src/json.hpp:2362:5: note: candidate: nlohmann::basic_json::basic_json(std::initializer_list >, bool, nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::value_t = nlohmann::detail::value_t] basic_json(std::initializer_list init, ^~~~~~~~~~ src/json.hpp:2362:5: note: no known conversion for argument 1 from 'std::stringstream {aka std::__cxx11::basic_stringstream}' to 'std::initializer_list >' src/json.hpp:2284:5: note: candidate: template, U>::value) && (! std::is_same >::value)) && (! nlohmann::detail::is_basic_json_nested_type, U>::value)) && nlohmann::detail::has_to_json, U>::value), int>::type > nlohmann::basic_json::basic_json(CompatibleType&&) basic_json(CompatibleType && val) noexcept(noexcept(JSONSerializer::to_json( ^~~~~~~~~~ src/json.hpp:2284:5: note: template argument deduction/substitution failed: src/json.hpp:2283:41: error: no type named 'type' in 'struct std::enable_if' int> = 0> ^ src/json.hpp:2283:41: note: invalid template non-type parameter src/json.hpp:2218:5: note: candidate: nlohmann::basic_json::basic_json(std::nullptr_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::nullptr_t = std::nullptr_t] basic_json(std::nullptr_t = nullptr) noexcept ^~~~~~~~~~ src/json.hpp:2218:5: note: no known conversion for argument 1 from 'std::stringstream {aka std::__cxx11::basic_stringstream}' to 'std::nullptr_t' src/json.hpp:2194:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::value_t = nlohmann::detail::value_t] basic_json(const value_t value_type) ^~~~~~~~~~ src/json.hpp:2194:5: note: no known conversion for argument 1 from 'std::stringstream {aka std::__cxx11::basic_stringstream}' to 'nlohmann::basic_json<>::value_t {aka nlohmann::detail::value_t}' test/src/unit.cpp:1311:14: error: no matching function for call to 'nlohmann::basic_json<>::basic_json(std::stringstream&, ____C_A_T_C_H____T_E_S_T____52()::::parse_event_t, const json&)>)' }); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:2756:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json&&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer] basic_json(basic_json&& other) noexcept ^~~~~~~~~~ src/json.hpp:2756:5: note: candidate expects 1 argument, 2 provided src/json.hpp:2679:5: note: candidate: nlohmann::basic_json::basic_json(const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer] basic_json(const basic_json& other) ^~~~~~~~~~ src/json.hpp:2679:5: note: candidate expects 1 argument, 2 provided src/json.hpp:2562:5: note: candidate: template::iter_impl > >::value || std::is_same::iter_impl > >::value), int>::type > nlohmann::basic_json::basic_json(InputIT, InputIT) basic_json(InputIT first, InputIT last) ^~~~~~~~~~ src/json.hpp:2562:5: note: template argument deduction/substitution failed: test/src/unit.cpp:1311:14: note: deduced conflicting types for parameter 'InputIT' ('std::__cxx11::basic_stringstream' and '____C_A_T_C_H____T_E_S_T____52()::::parse_event_t, const json&)>') }); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:2510:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json::size_type, const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::size_type = long unsigned int] basic_json(size_type cnt, const basic_json& val) ^~~~~~~~~~ src/json.hpp:2510:5: note: no known conversion for argument 1 from 'std::stringstream {aka std::__cxx11::basic_stringstream}' to 'nlohmann::basic_json<>::size_type {aka long unsigned int}' src/json.hpp:2362:5: note: candidate: nlohmann::basic_json::basic_json(std::initializer_list >, bool, nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::value_t = nlohmann::detail::value_t] basic_json(std::initializer_list init, ^~~~~~~~~~ src/json.hpp:2362:5: note: no known conversion for argument 1 from 'std::stringstream {aka std::__cxx11::basic_stringstream}' to 'std::initializer_list >' src/json.hpp:2284:5: note: candidate: template, U>::value) && (! std::is_same >::value)) && (! nlohmann::detail::is_basic_json_nested_type, U>::value)) && nlohmann::detail::has_to_json, U>::value), int>::type > nlohmann::basic_json::basic_json(CompatibleType&&) basic_json(CompatibleType && val) noexcept(noexcept(JSONSerializer::to_json( ^~~~~~~~~~ src/json.hpp:2284:5: note: template argument deduction/substitution failed: test/src/unit.cpp:1311:14: note: candidate expects 1 argument, 2 provided }); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:2218:5: note: candidate: nlohmann::basic_json::basic_json(std::nullptr_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::nullptr_t = std::nullptr_t] basic_json(std::nullptr_t = nullptr) noexcept ^~~~~~~~~~ src/json.hpp:2218:5: note: candidate expects 1 argument, 2 provided src/json.hpp:2194:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::value_t = nlohmann::detail::value_t] basic_json(const value_t value_type) ^~~~~~~~~~ src/json.hpp:2194:5: note: candidate expects 1 argument, 2 provided test/src/unit.cpp:1318:21: error: no matching function for call to 'nlohmann::basic_json<>::basic_json(std::ifstream&)' json j(f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:2756:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json&&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer] basic_json(basic_json&& other) noexcept ^~~~~~~~~~ src/json.hpp:2756:5: note: no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream}' to 'nlohmann::basic_json<>&&' src/json.hpp:2679:5: note: candidate: nlohmann::basic_json::basic_json(const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer] basic_json(const basic_json& other) ^~~~~~~~~~ src/json.hpp:2679:5: note: no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream}' to 'const nlohmann::basic_json<>&' src/json.hpp:2562:5: note: candidate: template::iter_impl > >::value || std::is_same::iter_impl > >::value), int>::type > nlohmann::basic_json::basic_json(InputIT, InputIT) basic_json(InputIT first, InputIT last) ^~~~~~~~~~ src/json.hpp:2562:5: note: template argument deduction/substitution failed: test/src/unit.cpp:1318:21: note: candidate expects 2 arguments, 1 provided json j(f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:2510:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json::size_type, const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::size_type = long unsigned int] basic_json(size_type cnt, const basic_json& val) ^~~~~~~~~~ src/json.hpp:2510:5: note: candidate expects 2 arguments, 1 provided src/json.hpp:2362:5: note: candidate: nlohmann::basic_json::basic_json(std::initializer_list >, bool, nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::value_t = nlohmann::detail::value_t] basic_json(std::initializer_list init, ^~~~~~~~~~ src/json.hpp:2362:5: note: no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream}' to 'std::initializer_list >' src/json.hpp:2284:5: note: candidate: template, U>::value) && (! std::is_same >::value)) && (! nlohmann::detail::is_basic_json_nested_type, U>::value)) && nlohmann::detail::has_to_json, U>::value), int>::type > nlohmann::basic_json::basic_json(CompatibleType&&) basic_json(CompatibleType && val) noexcept(noexcept(JSONSerializer::to_json( ^~~~~~~~~~ src/json.hpp:2284:5: note: template argument deduction/substitution failed: src/json.hpp:2283:41: error: no type named 'type' in 'struct std::enable_if' int> = 0> ^ src/json.hpp:2283:41: note: invalid template non-type parameter src/json.hpp:2218:5: note: candidate: nlohmann::basic_json::basic_json(std::nullptr_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::nullptr_t = std::nullptr_t] basic_json(std::nullptr_t = nullptr) noexcept ^~~~~~~~~~ src/json.hpp:2218:5: note: no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream}' to 'std::nullptr_t' src/json.hpp:2194:5: note: candidate: nlohmann::basic_json::basic_json(nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::value_t = nlohmann::detail::value_t] basic_json(const value_t value_type) ^~~~~~~~~~ src/json.hpp:2194:5: note: no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream}' to 'nlohmann::basic_json<>::value_t {aka nlohmann::detail::value_t}' test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____8782()': test/src/unit.cpp:8810:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] j >> ss; ^~ In file included from test/src/unit.cpp:44:0: src/json.hpp:7106:26: note: declared here friend std::ostream& operator>>(const basic_json& j, std::ostream& o) ^~~~~~~~ test/src/unit.cpp:8819:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] j >> ss; ^~ In file included from test/src/unit.cpp:44:0: src/json.hpp:7106:26: note: declared here friend std::ostream& operator>>(const basic_json& j, std::ostream& o) ^~~~~~~~ test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____8826()': test/src/unit.cpp:8848:14: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] j << ss; ^~ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____9603()': test/src/unit.cpp:9619:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\"") == "\\\""); ^ test/src/unit.cpp:9619:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\"") == "\\\""); ^ test/src/unit.cpp:9620:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\\") == "\\\\"); ^ test/src/unit.cpp:9620:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\\") == "\\\\"); ^ test/src/unit.cpp:9621:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\b") == "\\b"); ^ test/src/unit.cpp:9621:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\b") == "\\b"); ^ test/src/unit.cpp:9622:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\f") == "\\f"); ^ test/src/unit.cpp:9622:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\f") == "\\f"); ^ test/src/unit.cpp:9623:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\n") == "\\n"); ^ test/src/unit.cpp:9623:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\n") == "\\n"); ^ test/src/unit.cpp:9624:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\r") == "\\r"); ^ test/src/unit.cpp:9624:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\r") == "\\r"); ^ test/src/unit.cpp:9625:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\t") == "\\t"); ^ test/src/unit.cpp:9625:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\t") == "\\t"); ^ test/src/unit.cpp:9627:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x01") == "\\u0001"); ^ test/src/unit.cpp:9627:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x01") == "\\u0001"); ^ test/src/unit.cpp:9628:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x02") == "\\u0002"); ^ test/src/unit.cpp:9628:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x02") == "\\u0002"); ^ test/src/unit.cpp:9629:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x03") == "\\u0003"); ^ test/src/unit.cpp:9629:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x03") == "\\u0003"); ^ test/src/unit.cpp:9630:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x04") == "\\u0004"); ^ test/src/unit.cpp:9630:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x04") == "\\u0004"); ^ test/src/unit.cpp:9631:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x05") == "\\u0005"); ^ test/src/unit.cpp:9631:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x05") == "\\u0005"); ^ test/src/unit.cpp:9632:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x06") == "\\u0006"); ^ test/src/unit.cpp:9632:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x06") == "\\u0006"); ^ test/src/unit.cpp:9633:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x07") == "\\u0007"); ^ test/src/unit.cpp:9633:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x07") == "\\u0007"); ^ test/src/unit.cpp:9634:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x08") == "\\b"); ^ test/src/unit.cpp:9634:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x08") == "\\b"); ^ test/src/unit.cpp:9635:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x09") == "\\t"); ^ test/src/unit.cpp:9635:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x09") == "\\t"); ^ test/src/unit.cpp:9636:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0a") == "\\n"); ^ test/src/unit.cpp:9636:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0a") == "\\n"); ^ test/src/unit.cpp:9637:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0b") == "\\u000b"); ^ test/src/unit.cpp:9637:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0b") == "\\u000b"); ^ test/src/unit.cpp:9638:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0c") == "\\f"); ^ test/src/unit.cpp:9638:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0c") == "\\f"); ^ test/src/unit.cpp:9639:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0d") == "\\r"); ^ test/src/unit.cpp:9639:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0d") == "\\r"); ^ test/src/unit.cpp:9640:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0e") == "\\u000e"); ^ test/src/unit.cpp:9640:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0e") == "\\u000e"); ^ test/src/unit.cpp:9641:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0f") == "\\u000f"); ^ test/src/unit.cpp:9641:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x0f") == "\\u000f"); ^ test/src/unit.cpp:9642:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x10") == "\\u0010"); ^ test/src/unit.cpp:9642:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x10") == "\\u0010"); ^ test/src/unit.cpp:9643:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x11") == "\\u0011"); ^ test/src/unit.cpp:9643:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x11") == "\\u0011"); ^ test/src/unit.cpp:9644:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x12") == "\\u0012"); ^ test/src/unit.cpp:9644:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x12") == "\\u0012"); ^ test/src/unit.cpp:9645:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x13") == "\\u0013"); ^ test/src/unit.cpp:9645:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x13") == "\\u0013"); ^ test/src/unit.cpp:9646:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x14") == "\\u0014"); ^ test/src/unit.cpp:9646:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x14") == "\\u0014"); ^ test/src/unit.cpp:9647:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x15") == "\\u0015"); ^ test/src/unit.cpp:9647:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x15") == "\\u0015"); ^ test/src/unit.cpp:9648:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x16") == "\\u0016"); ^ test/src/unit.cpp:9648:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x16") == "\\u0016"); ^ test/src/unit.cpp:9649:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x17") == "\\u0017"); ^ test/src/unit.cpp:9649:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x17") == "\\u0017"); ^ test/src/unit.cpp:9650:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x18") == "\\u0018"); ^ test/src/unit.cpp:9650:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x18") == "\\u0018"); ^ test/src/unit.cpp:9651:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x19") == "\\u0019"); ^ test/src/unit.cpp:9651:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x19") == "\\u0019"); ^ test/src/unit.cpp:9652:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1a") == "\\u001a"); ^ test/src/unit.cpp:9652:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1a") == "\\u001a"); ^ test/src/unit.cpp:9653:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1b") == "\\u001b"); ^ test/src/unit.cpp:9653:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1b") == "\\u001b"); ^ test/src/unit.cpp:9654:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1c") == "\\u001c"); ^ test/src/unit.cpp:9654:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1c") == "\\u001c"); ^ test/src/unit.cpp:9655:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1d") == "\\u001d"); ^ test/src/unit.cpp:9655:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1d") == "\\u001d"); ^ test/src/unit.cpp:9656:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1e") == "\\u001e"); ^ test/src/unit.cpp:9656:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1e") == "\\u001e"); ^ test/src/unit.cpp:9657:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1f") == "\\u001f"); ^ test/src/unit.cpp:9657:21: error: 'escape_string' is not a member of 'nlohmann::json {aka nlohmann::basic_json<>}' CHECK(json::escape_string("\x1f") == "\\u001f"); ^ test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____9661()': test/src/unit.cpp:9667:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("[").scan() == json::lexer::token_type::begin_array); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9667:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("[").scan() == json::lexer::token_type::begin_array); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9668:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("]").scan() == json::lexer::token_type::end_array); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9668:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("]").scan() == json::lexer::token_type::end_array); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9669:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("{").scan() == json::lexer::token_type::begin_object); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9669:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("{").scan() == json::lexer::token_type::begin_object); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9670:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("}").scan() == json::lexer::token_type::end_object); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9670:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("}").scan() == json::lexer::token_type::end_object); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9671:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer(",").scan() == json::lexer::token_type::value_separator); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9671:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer(",").scan() == json::lexer::token_type::value_separator); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9672:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer(":").scan() == json::lexer::token_type::name_separator); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9672:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer(":").scan() == json::lexer::token_type::name_separator); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9677:37: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [5])' CHECK(json::lexer("null").scan() == json::lexer::token_type::literal_null); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [5]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9677:37: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [5])' CHECK(json::lexer("null").scan() == json::lexer::token_type::literal_null); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [5]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9678:37: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [5])' CHECK(json::lexer("true").scan() == json::lexer::token_type::literal_true); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [5]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9678:37: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [5])' CHECK(json::lexer("true").scan() == json::lexer::token_type::literal_true); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [5]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9679:38: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [6])' CHECK(json::lexer("false").scan() == json::lexer::token_type::literal_false); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [6]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9679:38: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [6])' CHECK(json::lexer("false").scan() == json::lexer::token_type::literal_false); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [6]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9684:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("0").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9684:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("0").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9684:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("0").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9684:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("0").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9685:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("1").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9685:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("1").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9685:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("1").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9685:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("1").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9686:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("2").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9686:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("2").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9686:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("2").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9686:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("2").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9687:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("3").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9687:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("3").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9687:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("3").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9687:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("3").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9688:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("4").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9688:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("4").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9688:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("4").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9688:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("4").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9689:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("5").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9689:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("5").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9689:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("5").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9689:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("5").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9690:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("6").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9690:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("6").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9690:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("6").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9690:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("6").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9691:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("7").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9691:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("7").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9691:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("7").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9691:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("7").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9692:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("8").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9692:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("8").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9692:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("8").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9692:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("8").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9693:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("9").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9693:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("9").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9693:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("9").scan() == json::lexer::token_type::value_number); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9693:71: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer("9").scan() == json::lexer::token_type::value_number); ^ test/src/unit.cpp:9699:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer(" ").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9699:34: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer(" ").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9700:35: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("\t").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9700:35: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("\t").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9701:35: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("\n").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9701:35: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("\n").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9702:35: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("\r").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9702:35: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [2])' CHECK(json::lexer("\r").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [2]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9703:45: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [8])' CHECK(json::lexer(" \t\n\r\n\t ").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [8]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9703:45: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char [8])' CHECK(json::lexer(" \t\n\r\n\t ").scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char [8]' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9709:87: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::uninitialized) == ""); ^ test/src/unit.cpp:9710:86: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::literal_true) == "true literal"); ^ test/src/unit.cpp:9711:87: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::literal_false) == "false literal"); ^ test/src/unit.cpp:9712:86: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::literal_null) == "null literal"); ^ test/src/unit.cpp:9713:86: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::value_string) == "string literal"); ^ test/src/unit.cpp:9714:69: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer::token_type_name(json::lexer::token_type::value_number) == "number literal"); ^ test/src/unit.cpp:9714:69: error: 'value_number' is not a member of 'nlohmann::basic_json<>::lexer::token_type' CHECK(json::lexer::token_type_name(json::lexer::token_type::value_number) == "number literal"); ^ test/src/unit.cpp:9715:85: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::begin_array) == "'['"); ^ test/src/unit.cpp:9716:86: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::begin_object) == "'{'"); ^ test/src/unit.cpp:9717:83: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::end_array) == "']'"); ^ test/src/unit.cpp:9718:84: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::end_object) == "'}'"); ^ test/src/unit.cpp:9719:88: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::name_separator) == "':'"); ^ test/src/unit.cpp:9720:89: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::value_separator) == "','"); ^ test/src/unit.cpp:9721:85: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::parse_error) == ""); ^ test/src/unit.cpp:9722:86: warning: comparison with string literal results in unspecified behavior [-Waddress] CHECK(json::lexer::token_type_name(json::lexer::token_type::end_of_input) == "end of input"); ^ test/src/unit.cpp:9751:48: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char*)' CHECK(json::lexer(s.c_str()).scan() != json::lexer::token_type::parse_error); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char*' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9751:48: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char*)' CHECK(json::lexer(s.c_str()).scan() != json::lexer::token_type::parse_error); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char*' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9761:48: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char*)' CHECK(json::lexer(s.c_str()).scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char*' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9761:48: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char*)' CHECK(json::lexer(s.c_str()).scan() == json::lexer::token_type::end_of_input); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char*' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9768:48: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char*)' CHECK(json::lexer(s.c_str()).scan() == json::lexer::token_type::parse_error); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char*' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9768:48: error: no matching function for call to 'nlohmann::basic_json<>::lexer::lexer(const char*)' CHECK(json::lexer(s.c_str()).scan() == json::lexer::token_type::parse_error); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:10627:9: note: candidate: nlohmann::basic_json::lexer::lexer(const char*, size_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; size_t = long unsigned int] lexer(const char* buff, const size_t len) ^~~~~ src/json.hpp:10627:9: note: candidate expects 2 arguments, 1 provided src/json.hpp:10622:18: note: candidate: nlohmann::basic_json::lexer::lexer(std::istream&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream] explicit lexer(std::istream& i) ^~~~~ src/json.hpp:10622:18: note: no known conversion for argument 1 from 'const char*' to 'std::istream& {aka std::basic_istream&}' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:9777:28: error: 'to_unicode' is not a member of 'nlohmann::basic_json<>::lexer' CHECK(json::lexer::to_unicode(0x1F4A9) == "💩"); ^ test/src/unit.cpp:9777:28: error: 'to_unicode' is not a member of 'nlohmann::basic_json<>::lexer' CHECK(json::lexer::to_unicode(0x1F4A9) == "💩"); ^ test/src/unit.cpp:9778:38: error: 'to_unicode' is not a member of 'nlohmann::basic_json<>::lexer' CHECK_THROWS_AS(json::lexer::to_unicode(0x200000), std::out_of_range); ^ test/src/unit.cpp:9779:40: error: 'to_unicode' is not a member of 'nlohmann::basic_json<>::lexer' CHECK_THROWS_WITH(json::lexer::to_unicode(0x200000), "code points above 0x10FFFF are invalid"); ^ test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____9783()': test/src/unit.cpp:10226:49: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_NOTHROW(json::parser(s).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10226:49: note: candidate expects 3 arguments, 1 provided CHECK_NOTHROW(json::parser(s).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10239:51: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_AS(json::parser(s).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10239:51: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_AS(json::parser(s).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10240:53: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_WITH(json::parser(s).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10240:53: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_WITH(json::parser(s).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10298:50: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_NOTHROW(json::parser(s1).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10298:50: note: candidate expects 3 arguments, 1 provided CHECK_NOTHROW(json::parser(s1).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10299:50: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_NOTHROW(json::parser(s2).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10299:50: note: candidate expects 3 arguments, 1 provided CHECK_NOTHROW(json::parser(s2).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10300:50: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_NOTHROW(json::parser(s3).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10300:50: note: candidate expects 3 arguments, 1 provided CHECK_NOTHROW(json::parser(s3).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10301:50: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_NOTHROW(json::parser(s4).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10301:50: note: candidate expects 3 arguments, 1 provided CHECK_NOTHROW(json::parser(s4).parse()); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10305:52: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_AS(json::parser(s1).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10305:52: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_AS(json::parser(s1).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10306:52: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_AS(json::parser(s2).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10306:52: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_AS(json::parser(s2).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10307:52: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_AS(json::parser(s3).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10307:52: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_AS(json::parser(s3).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10308:52: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_AS(json::parser(s4).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10308:52: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_AS(json::parser(s4).parse(), std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10310:54: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_WITH(json::parser(s1).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10310:54: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_WITH(json::parser(s1).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10311:54: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_WITH(json::parser(s2).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10311:54: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_WITH(json::parser(s2).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10312:54: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_WITH(json::parser(s3).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10312:54: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_WITH(json::parser(s3).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10313:54: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(std::__cxx11::basic_string&)' CHECK_THROWS_WITH(json::parser(s4).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:10313:54: note: candidate expects 3 arguments, 1 provided CHECK_THROWS_WITH(json::parser(s4).parse(), "parse error - unexpected '\"'"); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'std::__cxx11::basic_string' to 'const char*' test/src/unit.cpp:10497:26: error: no matching function for call to 'nlohmann::basic_json<>::parser::parser(nlohmann::basic_json<>::string_t&)' json::parser p(*s); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12051:9: note: candidate: template::iterator_category, std::random_access_iterator_tag>::value, int>::type > nlohmann::basic_json::parser::parser(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t) parser(IteratorType first, IteratorType last, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12051:9: note: template argument deduction/substitution failed: test/src/unit.cpp:10497:26: note: candidate expects 3 arguments, 1 provided json::parser p(*s); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:12042:9: note: candidate: nlohmann::basic_json::parser::parser(std::istream&, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; std::istream = std::basic_istream; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(std::istream& is, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12042:9: note: no known conversion for argument 1 from 'nlohmann::basic_json<>::string_t {aka std::__cxx11::basic_string}' to 'std::istream& {aka std::basic_istream&}' src/json.hpp:12034:9: note: candidate: nlohmann::basic_json::parser::parser(const char*, nlohmann::basic_json::parser_callback_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function::parse_event_t, nlohmann::basic_json<>&)>] parser(const char* buff, const parser_callback_t cb = nullptr) ^~~~~~ src/json.hpp:12034:9: note: no known conversion for argument 1 from 'nlohmann::basic_json<>::string_t {aka std::__cxx11::basic_string}' to 'const char*' In file included from test/src/unit.cpp:30:0: test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____11884()': test/src/unit.cpp:11930:34: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_THROWS_AS(j << f, std::invalid_argument); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:11946:32: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____12162()': test/src/unit.cpp:12170:28: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____12177()': test/src/unit.cpp:12185:28: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:12192:28: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:12199:28: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:12206:28: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:12213:28: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ test/src/unit.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____12286()': test/src/unit.cpp:12337:53: error: 'to_unicode' is not a member of 'nlohmann::basic_json<>::lexer' unescaped_string = json::lexer::to_unicode(cp); ^~~~~~~~~~ test/src/unit.cpp:12349:50: error: 'to_unicode' is not a member of 'nlohmann::basic_json<>::lexer' unescaped_string += json::lexer::to_unicode(codepoint1, codepoint2); ^~~~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:12374:28: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ In file included from test/src/unit.cpp:30:0: test/src/unit.cpp:12417:28: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] CHECK_NOTHROW(j << f); ^ In file included from test/src/unit.cpp:44:0: src/json.hpp:7386:26: note: declared here friend std::istream& operator<<(basic_json& j, std::istream& i) ^~~~~~~~ src/json.hpp: In instantiation of 'void nlohmann::detail::to_json_fn::call(BasicJsonType&, T&&, nlohmann::detail::priority_tag<0>) const [with BasicJsonType = nlohmann::basic_json<>; T = nlohmann::basic_json<>::primitive_iterator_t&]': src/json.hpp:1111:64: required from 'void nlohmann::detail::to_json_fn::operator()(BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = nlohmann::basic_json<>::primitive_iterator_t&]' src/json.hpp:1201:28: required from 'static void nlohmann::adl_serializer< , >::to_json(BasicJsonType&, ValueType&&) [with BasicJsonType = nlohmann::basic_json<>; ValueType = nlohmann::basic_json<>::primitive_iterator_t&; = nlohmann::basic_json<>::primitive_iterator_t; = void]' src/json.hpp:2287:35: required from 'nlohmann::basic_json::basic_json(CompatibleType&&) [with CompatibleType = nlohmann::basic_json<>::primitive_iterator_t&; U = nlohmann::basic_json<>::primitive_iterator_t; typename std::enable_if<((((! std::is_base_of, U>::value) && (! std::is_same >::value)) && (! nlohmann::detail::is_basic_json_nested_type, U>::value)) && nlohmann::detail::has_to_json, U>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' test/src/unit.cpp:9039:17: required from here src/json.hpp:1102:9: error: static assertion failed: could not find to_json() method in T's namespace static_assert(sizeof(BasicJsonType) == 0, ^~~~~~~~~~~~~ src/json.hpp: In instantiation of 'void nlohmann::detail::to_json_fn::call(BasicJsonType&, T&&, nlohmann::detail::priority_tag<0>) const [with BasicJsonType = nlohmann::basic_json<>; T = const std::_Rb_tree_iterator, nlohmann::basic_json<> > >&]': src/json.hpp:1111:64: required from 'void nlohmann::detail::to_json_fn::operator()(BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = const std::_Rb_tree_iterator, nlohmann::basic_json<> > >&]' src/json.hpp:1201:28: required from 'static void nlohmann::adl_serializer< , >::to_json(BasicJsonType&, ValueType&&) [with BasicJsonType = nlohmann::basic_json<>; ValueType = const std::_Rb_tree_iterator, nlohmann::basic_json<> > >&; = std::_Rb_tree_iterator, nlohmann::basic_json<> > >; = void]' src/json.hpp:2287:35: required from 'nlohmann::basic_json::basic_json(CompatibleType&&) [with CompatibleType = const std::_Rb_tree_iterator, nlohmann::basic_json<> > >&; U = std::_Rb_tree_iterator, nlohmann::basic_json<> > >; typename std::enable_if<((((! std::is_base_of, U>::value) && (! std::is_same >::value)) && (! nlohmann::detail::is_basic_json_nested_type, U>::value)) && nlohmann::detail::has_to_json, U>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' test/src/catch.hpp:1663:17: required from 'static std::__cxx11::string Catch::Detail::StringMakerBase::convert(const T&) [with T = std::_Rb_tree_iterator, nlohmann::basic_json<> > >; std::__cxx11::string = std::__cxx11::basic_string]' test/src/catch.hpp:1777:35: required from 'std::__cxx11::string Catch::toString(const T&) [with T = std::_Rb_tree_iterator, nlohmann::basic_json<> > >; std::__cxx11::string = std::__cxx11::basic_string]' test/src/catch.hpp:1875:37: required from 'Catch::ResultBuilder& Catch::ExpressionLhs::captureExpression(const RhsT&) [with Catch::Internal::Operator Op = (Catch::Internal::Operator)0; RhsT = std::_Rb_tree_iterator, nlohmann::basic_json<> > >; T = const std::_Rb_tree_iterator, nlohmann::basic_json<> > >&]' test/src/catch.hpp:1817:54: required from 'Catch::ResultBuilder& Catch::ExpressionLhs::operator==(const RhsT&) [with RhsT = std::_Rb_tree_iterator, nlohmann::basic_json<> > >; T = const std::_Rb_tree_iterator, nlohmann::basic_json<> > >&]' test/src/unit.cpp:9059:17: required from here src/json.hpp:1102:9: error: static assertion failed: could not find to_json() method in T's namespace src/json.hpp: In instantiation of 'void nlohmann::detail::to_json_fn::call(BasicJsonType&, T&&, nlohmann::detail::priority_tag<0>) const [with BasicJsonType = nlohmann::basic_json<>; T = const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >&]': src/json.hpp:1111:64: required from 'void nlohmann::detail::to_json_fn::operator()(BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >&]' src/json.hpp:1201:28: required from 'static void nlohmann::adl_serializer< , >::to_json(BasicJsonType&, ValueType&&) [with BasicJsonType = nlohmann::basic_json<>; ValueType = const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >&; = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; = void]' src/json.hpp:2287:35: required from 'nlohmann::basic_json::basic_json(CompatibleType&&) [with CompatibleType = const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >&; U = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; typename std::enable_if<((((! std::is_base_of, U>::value) && (! std::is_same >::value)) && (! nlohmann::detail::is_basic_json_nested_type, U>::value)) && nlohmann::detail::has_to_json, U>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' test/src/catch.hpp:1663:17: required from 'static std::__cxx11::string Catch::Detail::StringMakerBase::convert(const T&) [with T = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; std::__cxx11::string = std::__cxx11::basic_string]' test/src/catch.hpp:1777:35: required from 'std::__cxx11::string Catch::toString(const T&) [with T = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; std::__cxx11::string = std::__cxx11::basic_string]' test/src/catch.hpp:1875:37: required from 'Catch::ResultBuilder& Catch::ExpressionLhs::captureExpression(const RhsT&) [with Catch::Internal::Operator Op = (Catch::Internal::Operator)0; RhsT = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; T = const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >&]' test/src/catch.hpp:1817:54: required from 'Catch::ResultBuilder& Catch::ExpressionLhs::operator==(const RhsT&) [with RhsT = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; T = const __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >&]' test/src/unit.cpp:9068:17: required from here src/json.hpp:1102:9: error: static assertion failed: could not find to_json() method in T's namespace make: *** [Makefile:26: json_unit] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.1VMyEk (%check) Bad exit status from /var/tmp/rpm-tmp.1VMyEk (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/json.spec