1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.51k stars 775 forks source link

not compile in arduino ide #1945

Open gerashk opened 2 months ago

gerashk commented 2 months ago

Good afternoon. I'm trying to compile it in Arduino according to the instructions. but I get an error

"Compilation error: declaration of template parameter 'T' shadows template parameter"

on this line 326 : "void Config_update(JsonObject& data, const char* key, T& var);"

1technophile commented 2 months ago

Good afternoon, Arduino IDE will not be supported in the next release, as announced on v1.7.0 I would suggest to use platformIO instead.