Issue when building domoticz Beta V4.11696
Posted: Wednesday 19 February 2020 8:33
Hello,
I have started to generate domoticz version Beta V4.11696 and am facing the following issues when compiling the source:
1 - 1 warning :
/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp: In member function ‘bool CEvohomeRadio::DecodeDeviceInfo(CEvohomeMsg&)’:
/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp:1723:57: warning: left shift count >= width of type [-Wshift-count-overflow]
nFaultDateTime = static_cast<long>(msg.payload[10]) << 32 | static_cast<long>(msg.payload[11]) << 24 | msg.payload[12] << 16 | msg.payload[13] << 8 | msg.payload[14];
^~
/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp:1726:46: warning: left shift count >= width of type [-Wshift-count-overflow]
nFaultMonth = (nFaultDateTime & 0b1111UL << 36) >> 36;
^~
2 - 1 error which stops the process:
/home/pi/DEV/domoticz/hardware/plugins/PluginManager.cpp: In member function ‘void Plugins::CPluginSystem::Do_Work()’:
/home/pi/DEV/domoticz/hardware/plugins/PluginManager.cpp:324:7: error: ‘class boost::asio::io_service’ has no member named ‘restart’; did you mean ‘reset’?
ios.restart();
^~~~~~~
make[2]: *** [CMakeFiles/domoticz.dir/hardware/plugins/PluginManager.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/domoticz.dir/all] Erreur 2
make: *** [all] Erreur 2
Has anyone already faced the problem ?
Could anyone please help me tackle the 2 issues so that I generate domoticz ?
Many thanks in advance for your awaited answers.
meal
I have started to generate domoticz version Beta V4.11696 and am facing the following issues when compiling the source:
1 - 1 warning :
/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp: In member function ‘bool CEvohomeRadio::DecodeDeviceInfo(CEvohomeMsg&)’:
/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp:1723:57: warning: left shift count >= width of type [-Wshift-count-overflow]
nFaultDateTime = static_cast<long>(msg.payload[10]) << 32 | static_cast<long>(msg.payload[11]) << 24 | msg.payload[12] << 16 | msg.payload[13] << 8 | msg.payload[14];
^~
/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp:1726:46: warning: left shift count >= width of type [-Wshift-count-overflow]
nFaultMonth = (nFaultDateTime & 0b1111UL << 36) >> 36;
^~
2 - 1 error which stops the process:
/home/pi/DEV/domoticz/hardware/plugins/PluginManager.cpp: In member function ‘void Plugins::CPluginSystem::Do_Work()’:
/home/pi/DEV/domoticz/hardware/plugins/PluginManager.cpp:324:7: error: ‘class boost::asio::io_service’ has no member named ‘restart’; did you mean ‘reset’?
ios.restart();
^~~~~~~
make[2]: *** [CMakeFiles/domoticz.dir/hardware/plugins/PluginManager.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/domoticz.dir/all] Erreur 2
make: *** [all] Erreur 2
Has anyone already faced the problem ?
Could anyone please help me tackle the 2 issues so that I generate domoticz ?
Many thanks in advance for your awaited answers.
meal