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
I just tried to re-build a scatch I have built a few years ago. I updated all libraries, and now, I can't compile…
I even try to use your examples, but get the same error.
/Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.cpp:551:24: error: use of deleted function 'DNSServer& DNSServer::operator=(const DNSServer&)'
551 | *dnsServer=DNSServer();
| ^
In file included from /Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.h:31,
from /Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.cpp:14:
/Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/DNSServer/src/DNSServer.h:67:7: note: 'DNSServer& DNSServer::operator=(const DNSServer&)' is implicitly deleted because the default definition would be ill-formed:
67 | class DNSServer
| ^~~~~~~~~
/Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/DNSServer/src/DNSServer.h:67: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 = DNSS_REQUESTER; _Dp = std::default_delete<DNSS_REQUESTER []>]'
In file included from /Users/XXX/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/xtensa-lx106-elf/include/c++/10.3.0/memory:83,
from /Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.h:32,
from /Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.h:28,
from /Users/XXX/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/ESP8266WiFi/src/ESP8266WiFi.h:34,
from /Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.h:18,
from /Users/XXX/Documents/Arduino/libraries/ESPAsyncWiFiManager/ESPAsyncWiFiManager.cpp:14:
/Users/XXX/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/xtensa-lx106-elf/include/c++/10.3.0/bits/unique_ptr.h:724:19: note: declared here
724 | unique_ptr& operator=(const unique_ptr&) = delete;
| ^~~~~~~~
exit status 1
Compilation error: exit status 1```
I have installed WifiManager (by tzapu) version 2.0.17
Please let me know if you need any further information…
The text was updated successfully, but these errors were encountered:
Hi,
I just tried to re-build a scatch I have built a few years ago. I updated all libraries, and now, I can't compile…
I even try to use your examples, but get the same error.
So to reproduce: get Arduino IDE and Libraries to the latest version, download your example https://github.com/alanswx/ESPAsyncWiFiManager/blob/master/examples/AutoConnect/AutoConnect.ino and compile…
it will throw:
The text was updated successfully, but these errors were encountered: