Created
May 4, 2017 09:30
-
-
Save Siapran/07866a82099bb56e113ce8eac4b64359 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ g++-4.9.3 --version | |
g++-4.9.3 (GCC) 4.9.3 | |
Copyright (C) 2015 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
siapran@pc-vlb-0163:~/Programming/C++/JSONTest$ g++-4.9.3 -std=c++98 main.cpp -o main | |
In file included from ArduinoJson/src/ArduinoJson/JsonArray.hpp:13:0, | |
from ArduinoJson/src/ArduinoJson.hpp:11, | |
from ArduinoJson/src/ArduinoJson.h:10, | |
from ArduinoJson/ArduinoJson.h:8, | |
from main.cpp:1: | |
ArduinoJson/src/ArduinoJson/Data/ValueSetter.hpp: In instantiation of ‘struct ArduinoJson::Internals::ValueSetter<const ArduinoJson::JsonArraySubscript&, void>’: | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp:212:70: required from ‘bool ArduinoJson::JsonArray::set_impl(size_t, TValueRef) [with TValueRef = const ArduinoJson::JsonArraySubscript&; size_t = long unsigned int]’ | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp:92:44: required from ‘typename ArduinoJson::TypeTraits::EnableIf<(! ArduinoJson::TypeTraits::IsArray<T>::value), bool>::type ArduinoJson::JsonArray::set(size_t, const T&) [with T = ArduinoJson::JsonArraySubscript; typename ArduinoJson::TypeTraits::EnableIf<(! ArduinoJson::TypeTraits::IsArray<T>::value), bool>::type = bool; size_t = long unsigned int]’ | |
ArduinoJson/src/ArduinoJson/JsonArraySubscript.hpp:25:27: required from here | |
ArduinoJson/src/ArduinoJson/Data/ValueSetter.hpp:21:15: error: forming reference to reference type ‘const ArduinoJson::JsonArraySubscript&’ | |
static bool set(JsonBuffer*, TDestination& destination, | |
^ | |
In file included from ArduinoJson/src/ArduinoJson.hpp:11:0, | |
from ArduinoJson/src/ArduinoJson.h:10, | |
from ArduinoJson/ArduinoJson.h:8, | |
from main.cpp:1: | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp: In instantiation of ‘bool ArduinoJson::JsonArray::set_impl(size_t, TValueRef) [with TValueRef = const ArduinoJson::JsonArraySubscript&; size_t = long unsigned int]’: | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp:92:44: required from ‘typename ArduinoJson::TypeTraits::EnableIf<(! ArduinoJson::TypeTraits::IsArray<T>::value), bool>::type ArduinoJson::JsonArray::set(size_t, const T&) [with T = ArduinoJson::JsonArraySubscript; typename ArduinoJson::TypeTraits::EnableIf<(! ArduinoJson::TypeTraits::IsArray<T>::value), bool>::type = bool; size_t = long unsigned int]’ | |
ArduinoJson/src/ArduinoJson/JsonArraySubscript.hpp:25:27: required from here | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp:212:70: error: ‘set’ is not a member of ‘ArduinoJson::Internals::ValueSetter<const ArduinoJson::JsonArraySubscript&, void>’ | |
return Internals::ValueSetter<TValueRef>::set(_buffer, *it, value); | |
^ | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp: In instantiation of ‘bool ArduinoJson::JsonArray::add_impl(TValueRef) [with TValueRef = const ArduinoJson::JsonArray&]’: | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp:66:37: required from ‘typename ArduinoJson::TypeTraits::EnableIf<(! ArduinoJson::TypeTraits::IsArray<T>::value), bool>::type ArduinoJson::JsonArray::add(const T&) [with T = ArduinoJson::JsonArray; typename ArduinoJson::TypeTraits::EnableIf<(! ArduinoJson::TypeTraits::IsArray<T>::value), bool>::type = bool]’ | |
ArduinoJson/src/ArduinoJson/JsonArrayImpl.hpp:19:12: required from here | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp:219:70: error: ‘set’ is not a member of ‘ArduinoJson::Internals::ValueSetter<const ArduinoJson::JsonArray&, void>’ | |
return Internals::ValueSetter<TValueRef>::set(_buffer, *it, value); | |
^ | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp: In instantiation of ‘bool ArduinoJson::JsonArray::add_impl(TValueRef) [with TValueRef = const ArduinoJson::JsonObject&]’: | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp:66:37: required from ‘typename ArduinoJson::TypeTraits::EnableIf<(! ArduinoJson::TypeTraits::IsArray<T>::value), bool>::type ArduinoJson::JsonArray::add(const T&) [with T = ArduinoJson::JsonObject; typename ArduinoJson::TypeTraits::EnableIf<(! ArduinoJson::TypeTraits::IsArray<T>::value), bool>::type = bool]’ | |
ArduinoJson/src/ArduinoJson/JsonArrayImpl.hpp:26:13: required from here | |
ArduinoJson/src/ArduinoJson/JsonArray.hpp:219:70: error: ‘set’ is not a member of ‘ArduinoJson::Internals::ValueSetter<const ArduinoJson::JsonObject&, void>’ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment