In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp:26358:13: note: 'template<template<class, class, class ...> class ObjectType, template<class, class ...> class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType, template<class, class> class JSONSerializer, class BinaryType> std::string nlohmann::to_string(const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>&)' declared here, later in the translation unit
std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j)
^
In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp:4370:29: error: no matching function for call to 'to_string(std::size_t&)'
target = to_string(value);
^
controller/../osdep/../ext/json/json.hpp:4370:29: note: candidate is:
In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp:26358:13: note: template<template<class, class, class ...> class ObjectType, template<class, class ...> class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType, template<class, class> class JSONSerializer, class BinaryType> std::string nlohmann::to_string(const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>&)
std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j)
^
controller/../osdep/../ext/json/json.hpp:26358:13: note: template argument deduction/substitution failed:
In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp:4370:29: note: mismatched types 'const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>' and 'std::size_t {aka unsigned int}'
target = to_string(value);
^
In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp: In static member function 'static std::string nlohmann::detail::exception::name(const string&, int)':
controller/../osdep/../ext/json/json.hpp:2668:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from controller/../osdep/OSUtils.hpp:46:0, from controller/EmbeddedNetworkController.hpp:34, from controller/EmbeddedNetworkController.cpp:38: controller/../osdep/../ext/json/json.hpp:26358:13: note: 'template<template<class, class, class ...> class ObjectType, template<class, class ...> class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType, template<class, class> class JSONSerializer, class BinaryType> std::string nlohmann::to_string(const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>&)' declared here, later in the translation unit
std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j)
^
In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp:4370:29: error: no matching function for call to 'to_string(std::size_t&)'
target = to_string(value);
^
controller/../osdep/../ext/json/json.hpp:4370:29: note: candidate is:
In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp:26358:13: note: template<template<class, class, class ...> class ObjectType, template<class, class ...> class ArrayType, class StringType, class BooleanType, class NumberIntegerType, class NumberUnsignedType, class NumberFloatType, template class AllocatorType, template<class, class> class JSONSerializer, class BinaryType> std::string nlohmann::to_string(const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>&)
std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j)
^
controller/../osdep/../ext/json/json.hpp:26358:13: note: template argument deduction/substitution failed:
In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp:4370:29: note: mismatched types 'const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>' and 'std::size_t {aka unsigned int}'
target = to_string(value);
^
In file included from controller/../osdep/OSUtils.hpp:46:0,
from controller/EmbeddedNetworkController.hpp:34,
from controller/EmbeddedNetworkController.cpp:38:
controller/../osdep/../ext/json/json.hpp: In static member function 'static std::string nlohmann::detail::exception::name(const string&, int)':
controller/../osdep/../ext/json/json.hpp:2668:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^