You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/user/arduinoide/arduino-1.8.8/portable/sketchbook/rgb/MQTTDDNS.ino: In function 'void initDDNS()':
MQTTDDNS:105:11: error: use of deleted function 'ESP8266WebServer& ESP8266WebServer::operator=(const ESP8266WebServer&)'
HTTPWAN = ESP8266WebServer (jsonReadtoInt(configSetup, "ddnsPort"));
^
In file included from /home/user/arduinoide/arduino-1.8.8/portable/sketchbook/rgb/rgb.ino:2:0:
/home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:70:7: note: 'ESP8266WebServer& ESP8266WebServer::operator=(const ESP8266WebServer&)' is implicitly deleted because the default definition would be ill-formed:
class ESP8266WebServer
^
/home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:70:7: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = HTTPUpload; _Dp = std::default_delete]'
In file included from /home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/xtensa-lx106-elf/include/c++/4.8.2/memory:81:0,
from /home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.h:28,
from /home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.h:28,
from /home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WiFi/src/ESP8266WiFi.h:34,
from /home/user/arduinoide/arduino-1.8.8/portable/sketchbook/rgb/rgb.ino:1:
/home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/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::operator=(const ESP8266WebServer&)'
The text was updated successfully, but these errors were encountered:
immortalserg
changed the title
Нет в новом ядре ESP8266WebServer
Ошибка ESP8266WebServer
Apr 29, 2019
@immortalserg Это от того что вы используете среду выше 2.3.0.
HTTPWAN = ESP8266WebServer (jsonReadtoInt(configSetup, "ddnsPort"));
Не работает в 2.4.0 и выше.
/home/user/arduinoide/arduino-1.8.8/portable/sketchbook/rgb/MQTTDDNS.ino: In function 'void initDDNS()':
MQTTDDNS:105:11: error: use of deleted function 'ESP8266WebServer& ESP8266WebServer::operator=(const ESP8266WebServer&)'
HTTPWAN = ESP8266WebServer (jsonReadtoInt(configSetup, "ddnsPort"));
^
In file included from /home/user/arduinoide/arduino-1.8.8/portable/sketchbook/rgb/rgb.ino:2:0:
/home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:70:7: note: 'ESP8266WebServer& ESP8266WebServer::operator=(const ESP8266WebServer&)' is implicitly deleted because the default definition would be ill-formed:
class ESP8266WebServer
^
/home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:70:7: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = HTTPUpload; _Dp = std::default_delete]'
In file included from /home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/xtensa-lx106-elf/include/c++/4.8.2/memory:81:0,
from /home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.h:28,
from /home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.h:28,
from /home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WiFi/src/ESP8266WiFi.h:34,
from /home/user/arduinoide/arduino-1.8.8/portable/sketchbook/rgb/rgb.ino:1:
/home/user/arduinoide/arduino-1.8.8/portable/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/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::operator=(const ESP8266WebServer&)'
The text was updated successfully, but these errors were encountered: