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]
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]