marvinroger / async-mqtt-client

📶 An Arduino for ESP8266 asynchronous MQTT client implementation
MIT License
839 stars 266 forks source link

Compiler warnings with latest Arduino 2.0.4 #293

Open Westcott1 opened 1 year ago

Westcott1 commented 1 year ago

Although the sketch compiles OK, you get these warnings with Arduino 2.0.4 and board Node32s from "esp32 by Espressif Systems" 2.0.7 -

c:\Users\Hamish\Documents\Arduino\libraries\async-mqtt-client-master\src\AsyncMqttClient.cpp: In constructor 'AsyncMqttClient::AsyncMqttClient()': c:\Users\Hamish\Documents\Arduino\libraries\async-mqtt-client-master\src\AsyncMqttClient.cpp:44:19: warning: missing initializer for member 'AsyncMqttClientInternals::ParsingInformation::maxTopicLength' [-Wmissing-field-initializers] , _pendingPubRels() { ^ c:\Users\Hamish\Documents\Arduino\libraries\async-mqtt-client-master\src\AsyncMqttClient.cpp:44:19: warning: missing initializer for member 'AsyncMqttClientInternals::ParsingInformation::topicBuffer' [-Wmissing-field-initializers] c:\Users\Hamish\Documents\Arduino\libraries\async-mqtt-client-master\src\AsyncMqttClient.cpp:44:19: warning: missing initializer for member 'AsyncMqttClientInternals::ParsingInformation::packetType' [-Wmissing-field-initializers] c:\Users\Hamish\Documents\Arduino\libraries\async-mqtt-client-master\src\AsyncMqttClient.cpp:44:19: warning: missing initializer for member 'AsyncMqttClientInternals::ParsingInformation::packetFlags' [-Wmissing-field-initializers] c:\Users\Hamish\Documents\Arduino\libraries\async-mqtt-client-master\src\AsyncMqttClient.cpp:44:19: warning: missing initializer for member 'AsyncMqttClientInternals::ParsingInformation::remainingLength' [-Wmissing-field-initializers]

Kneidl18 commented 11 months ago

Did you solve the problem? I am now facing the same problems with newest PIO and newest version of library.