Closed inrepublica closed 3 months ago
Describe the bug Some warning in compilation process. Is it normal ?
Processing nodemcuv2 (platform: espressif8266@^4; board: nodemcuv2; framework: arduino) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Library Manager: Warning! Could not install `{'owner': 'dok-net', 'name': 'ghostl', 'version': '^1.0.0'}` dependency for the`EspSoftwareSerial` package Compiling .pio\build\nodemcuv2\lib28e\ESPAsyncTCP\SyncClient.cpp.o src\main.cpp: In function 'void stopall()': src\main.cpp:512:5: warning: deleting object of polymorphic class type 'PubSubClient' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 512 | delete mqttClient; | ^~~~~~~~~~~~~~~~~ Compiling .pio\build\nodemcuv2\libb01\DallasTemperature\DallasTemperature.cpp.o .pio\libdeps\nodemcuv2\WebSockets\src\SocketIOclient.cpp: In member function 'void SocketIOclient::loop()': .pio\libdeps\nodemcuv2\WebSockets\src\SocketIOclient.cpp:175:23: warning: 'void WebSocketsClient::loop()' is deprecated [-Wdeprecated-declarations] 175 | WebSocketsClient::loop(); | ^~~~ In file included from .pio\libdeps\nodemcuv2\WebSockets\src\SocketIOclient.cpp:9: .pio\libdeps\nodemcuv2\WebSockets\src\WebSocketsClient.h:75:10: note: declared here 75 | void loop(void) __attribute__((deprecated)) {} | ^~~~ .pio\libdeps\nodemcuv2\WebSockets\src\SocketIOclient.cpp:175:28: warning: 'void WebSocketsClient::loop()' is deprecated [-Wdeprecated-declarations] 175 | WebSocketsClient::loop(); | ^ In file included from .pio\libdeps\nodemcuv2\WebSockets\src\SocketIOclient.cpp:9: .pio\libdeps\nodemcuv2\WebSockets\src\WebSocketsClient.h:75:10: note: declared here 75 | void loop(void) __attribute__((deprecated)) {} | ^~~~ Compiling .pio\build\nodemcuv2\lib4f9\cio\CIO_2021.cpp.o .pio\libdeps\nodemcuv2\PubSubClient\src\PubSubClient.cpp: In member function 'boolean PubSubClient::publish_P(const char*, const uint8_t*, unsigned int, boolean)': .pio\libdeps\nodemcuv2\PubSubClient\src\PubSubClient.cpp:523:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 523 | return (rc == expectedLength); | ~~~^~~~~~~~~~~~~~~~~ C:\Users\duval\.platformio\packages\framework-arduinoespressif8266\cores\esp8266\mmu_iram.cpp:29:34: note: '#pragma message: ICACHE size 16K' 29 | #pragma message("ICACHE size 16K") | ^ RAM: [===== ] 49.7% (used 40736 bytes from 81920 bytes) Flash: [===== ] 53.9% (used 562447 bytes from 1044464 bytes) Building .pio\build\nodemcuv2\firmware.bin Creating BIN file ".pio\build\nodemcuv2\firmware.bin" using "C:\Users\duval\.platformio\packages\framework-arduinoespressif8266\bootloaders\eboot\eboot.elf" and ".pio\build\nodemcuv2\firmware.elf" ========================================================================================= [SUCCESS] Took 40.50 seconds =========================================================================================
To Reproduce Steps to reproduce the behavior:
Expected behavior No warning ?
Hardware (please complete the following information):
Software (please complete the following information):
Nothing to worry about. Most are intentional and the rest is taken care of or have no effect.
Describe the bug Some warning in compilation process. Is it normal ?
To Reproduce Steps to reproduce the behavior:
Expected behavior No warning ?
Hardware (please complete the following information):
Software (please complete the following information):