Code: Select all
In file included from /usr/include/c++/10/map:61,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.h:24,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.cpp:21:
/usr/include/c++/10/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = std::__cxx11::basic_string<char>; _Tp = nlohmann::basic_json<>; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]':
/usr/include/c++/10/bits/stl_map.h:501:37: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >::const_iterator' changed in GCC 7.1
501 | __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
502 | std::tuple<const key_type&>(__k),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
503 | std::tuple<>());
| ~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/map:60,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.h:24,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.cpp:21:
/usr/include/c++/10/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>, std::tuple<>}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]':
/usr/include/c++/10/bits/stl_tree.h:2458:7: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >::const_iterator' changed in GCC 7.1
2458 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 51%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/binary_parsed.cpp.o
/usr/include/c++/10/bits/stl_tree.h: In member function 'std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]':
/usr/include/c++/10/bits/stl_tree.h:2193:5: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >::const_iterator' changed in GCC 7.1
2193 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 51%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/humidity_parsed.cpp.o
In file included from /home/pi/supla-device/extras/porting/linux/supla/parser/json.h:27,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.cpp:21:
/home/pi/supla-device/extras/examples/linux/build/_deps/json-src/single_include/nlohmann/json.hpp: In member function 'IteratorType nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::erase(IteratorType) [with IteratorType = nlohmann::detail::iter_impl<nlohmann::basic_json<> >; typename std::enable_if<(std::is_same<InputIT, nlohmann::detail::iter_impl<nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType> > >::value || std::is_same<InputIT, nlohmann::detail::iter_impl<const nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType> > >::value), int>::type <anonymous> = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long long int; NumberUnsignedType = long long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector<unsigned char>]':
/home/pi/supla-device/extras/examples/linux/build/_deps/json-src/single_include/nlohmann/json.hpp:19467:66: note: parameter passing for argument of type 'std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > >::const_iterator' changed in GCC 7.1
19467 | result.m_it.array_iterator = m_value.array->erase(pos.m_it.array_iterator);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/vector:67,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.h:26,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.cpp:21:
/usr/include/c++/10/bits/stl_vector.h: In member function 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = nlohmann::basic_json<>; _Alloc = std::allocator<nlohmann::basic_json<> >]':
/usr/include/c++/10/bits/stl_vector.h:1430:7: note: parameter passing for argument of type 'std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > >::const_iterator' changed in GCC 7.1
1430 | erase(const_iterator __position)
| ^~~~~
In file included from /usr/include/c++/10/map:60,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.h:24,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.cpp:21:
/usr/include/c++/10/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::erase(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator) [with _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]':
/usr/include/c++/10/bits/stl_tree.h:1216:14: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >::const_iterator' changed in GCC 7.1
1216 | _M_erase_aux(__position);
| ~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/c++/10/bits/stl_tree.h: In member function 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase_aux(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator) [with _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >; _Compare = std::less<void>; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >]':
/usr/include/c++/10/bits/stl_tree.h:2510:5: note: parameter passing for argument of type 'std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > >, std::less<void>, std::allocator<std::pair<const std::__cxx11::basic_string<char>, nlohmann::basic_json<> > > >::const_iterator' changed in GCC 7.1
2510 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 51%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/pressure_parsed.cpp.o
In file included from /usr/include/c++/10/vector:67,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.h:26,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.cpp:21:
/usr/include/c++/10/bits/stl_vector.h: In copy constructor 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = nlohmann::basic_json<>; _Alloc = std::allocator<nlohmann::basic_json<> >]':
/usr/include/c++/10/bits/stl_vector.h:558:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
558 | std::__uninitialized_copy_a(__x.begin(), __x.end(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
559 | this->_M_impl._M_start,
| ~~~~~~~~~~~~~~~~~~~~~~~
560 | _M_get_Tp_allocator());
| ~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/vector:66,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.h:26,
from /home/pi/supla-device/extras/porting/linux/supla/parser/json.cpp:21:
/usr/include/c++/10/bits/stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >; _ForwardIterator = nlohmann::basic_json<>*; _Tp = nlohmann::basic_json<>]':
/usr/include/c++/10/bits/stl_uninitialized.h:323:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
323 | __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/stl_uninitialized.h:323:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
/usr/include/c++/10/bits/stl_uninitialized.h:325:37: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
325 | { return std::uninitialized_copy(__first, __last, __result); }
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/stl_uninitialized.h: In function '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >; _ForwardIterator = nlohmann::basic_json<>*]':
/usr/include/c++/10/bits/stl_uninitialized.h:125:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
125 | uninitialized_copy(_InputIterator __first, _InputIterator __last,
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/stl_uninitialized.h:125:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
/usr/include/c++/10/bits/stl_uninitialized.h:150:15: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
147 | return std::__uninitialized_copy<__is_trivial(_ValueType1)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | && __is_trivial(_ValueType2)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | && __assignable>::
| ~~~~~~~~~~~~~~~~~~
150 | __uninit_copy(__first, __last, __result);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/stl_uninitialized.h: In static member function 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >; _ForwardIterator = nlohmann::basic_json<>*; bool _TrivialValueTypes = false]':
/usr/include/c++/10/bits/stl_uninitialized.h:84:9: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
84 | __uninit_copy(_InputIterator __first, _InputIterator __last,
| ^~~~~~~~~~~~~
/usr/include/c++/10/bits/stl_uninitialized.h:84:9: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<const nlohmann::basic_json<>*, std::vector<nlohmann::basic_json<>, std::allocator<nlohmann::basic_json<> > > >' changed in GCC 7.1
[ 51%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/rain_parsed.cpp.o
[ 52%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/wind_parsed.cpp.o
[ 52%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/weight_parsed.cpp.o
[ 52%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/distance_parsed.cpp.o
[ 53%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/therm_hygro_meter_parsed.cpp.o
[ 53%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/general_purpose_measurement_parsed.cpp.o
[ 53%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/sensor/general_purpose_meter_parsed.cpp.o
[ 54%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/control/cmd_relay.cpp.o
[ 54%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/control/action_trigger_parsed.cpp.o
[ 54%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/control/hvac_parsed.cpp.o
[ 54%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/control/custom_relay.cpp.o
/home/pi/supla-device/extras/porting/linux/supla/control/hvac_parsed.cpp:35:7: error: 'int Supla::Control::CmdOutput::getOutputValue()' marked 'override', but does not override
35 | int getOutputValue() override;
| ^~~~~~~~~~~~~~
/home/pi/supla-device/extras/porting/linux/supla/control/hvac_parsed.cpp: In constructor 'Supla::Control::HvacParsed::HvacParsed(std::string, std::string, std::string, std::string)':
/home/pi/supla-device/extras/porting/linux/supla/control/hvac_parsed.cpp:80:42: error: invalid new-expression of abstract class type 'Supla::Control::CmdOutput'
80 | cmdOutput = new CmdOutput(cmdOn, cmdOff);
| ^
/home/pi/supla-device/extras/porting/linux/supla/control/hvac_parsed.cpp:31:7: note: because the following virtual functions are pure within 'Supla::Control::CmdOutput':
31 | class CmdOutput : public OutputInterface {
| ^~~~~~~~~
In file included from /home/pi/supla-device/extras/porting/linux/supla/control/hvac_parsed.cpp:23:
/home/pi/supla-device/src/supla/control/output_interface.h:29:15: note: 'virtual int Supla::Control::OutputInterface::getOutputValue() const'
29 | virtual int getOutputValue() const = 0;
| ^~~~~~~~~~~~~~
/home/pi/supla-device/extras/porting/linux/supla/control/hvac_parsed.cpp:84:71: error: invalid new-expression of abstract class type 'Supla::Control::CmdOutput'
84 | cmdOutputSecondary = new CmdOutput(cmdOnSecondary, cmdOffSecondary);
| ^
[ 55%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/control/control_payload.cpp.o
[ 55%] Building CXX object CMakeFiles/supladevice.dir/home/pi/supla-device/src/supla/pv/fronius.cpp.o
make[2]: *** [CMakeFiles/supladevice.dir/build.make:2409: CMakeFiles/supladevice.dir/home/pi/supla-device/extras/porting/linux/supla/control/hvac_parsed.cpp.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [CMakeFiles/Makefile2:244: CMakeFiles/supladevice.dir/all] Błąd 2
make: *** [Makefile:149: all] Błąd 2