1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-05-31 08:42:49 +03:00
esp8266/libraries
Max Prokhorov 2c72e6f015
Libraries - fix some warnings with gcc ≥12 (#9244)
* ESP8266WebServer - unused templated code throws out unused statics

currently, only w/ mock build because it is using gcc>=12

> ../../libraries/ESP8266WebServer/src/detail/RequestHandlersImpl.h:14:15: warning: ‘String esp8266webserver::calcETag(fs::FS&, const String&)’ defined but not used [-Wunused-function]
>   14 | static String calcETag(FS &fs, const String &path) {
>      |               ^~~~~~~~

* ESP8266WiFiMesh - fix classes used as aggregates

> error: designated initializers cannot be used with a non-aggregate type '...'

gcc10.3 allowed this construct for some reason

* LEAmDNS - consistent const <-> non-const accessors

> error: infinite recursion detected [-Werror=infinite-recursion]
2025-05-20 19:40:21 +03:00
..
2024-03-24 23:52:28 +01:00
2024-07-31 03:58:18 +03:00
2024-07-31 03:58:18 +03:00
2025-01-24 09:40:22 +03:00
2024-02-09 17:39:38 +03:00