Arduino: 1.8.5 (Linux), Плата:"Generic ESP8266 Module, 80 MHz, ck, 26 MHz, 40MHz, QIO, 1M (128K SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200"
Изменены опции сборки, пересобираем все
/home/noise83/Arduino/Sonoff_WiFi_switch/MQTTDDNS.ino: In function 'void initDDNS()':
MQTTDDNS:105: error: use of deleted function 'ESP8266WebServer& ESP8266WebServer:
perator=(const ESP8266WebServer&)'
HTTPWAN = ESP8266WebServer (jsonReadtoInt(configSetup, "ddnsPort"));
^
In file included from /home/noise83/Arduino/Sonoff_WiFi_switch/Sonoff_WiFi_switch.ino:2:0:
/home/noise83/.arduino15/packages/esp8266/hardware/esp8266/2.4.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:69:7: note: 'ESP8266WebServer& ESP8266WebServer:
perator=(const ESP8266WebServer&)' is implicitly deleted because the default definition would be ill-formed:
class ESP8266WebServer
^
/home/noise83/.arduino15/packages/esp8266/hardware/esp8266/2.4.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:69:7: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>:
perator=(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = HTTPUpload; _Dp = std::default_delete<HTTPUpload>]'
In file included from /home/noise83/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/xtensa-lx106-elf/include/c++/4.8.2/memory:81:0,
from /home/noise83/.arduino15/packages/esp8266/hardware/esp8266/2.4.0/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.h:28,
from /home/noise83/.arduino15/packages/esp8266/hardware/esp8266/2.4.0/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.h:28,
from /home/noise83/.arduino15/packages/esp8266/hardware/esp8266/2.4.0/libraries/ESP8266WiFi/src/ESP8266WiFi.h:34,
from /home/noise83/Arduino/Sonoff_WiFi_switch/Sonoff_WiFi_switch.ino:1:
/home/noise83/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/xtensa-lx106-elf/include/c++/4.8.2/bits/unique_ptr.h:274:19: error: declared here
unique_ptr& operator=(const unique_ptr&) = delete;
^
exit status 1
use of deleted function 'ESP8266WebServer& ESP8266WebServer:
perator=(const ESP8266WebServer&)'