dawidchyrzynski / arduino-home-assistant

ArduinoHA allows to integrate an Arduino/ESP based device with Home Assistant using MQTT.
https://dawidchyrzynski.github.io/arduino-home-assistant/
GNU Affero General Public License v3.0
463 stars 112 forks source link

warning: class 'HANumeric' is implicitly friends with itself #196

Closed shedokan closed 6 months ago

shedokan commented 10 months ago

I am getting this warning when importing the library:

In file included from /Users/REDACTED/arduino/libraries/home-assistant-integration/src/device-types/HASensorNumber.h:5,
                 from /Users/REDACTED/Project/Project.ino:68:
/Users/REDACTED/arduino/libraries/home-assistant-integration/src/device-types/../utils/HANumeric.h:232:18: warning: class 'HANumeric' is implicitly friends with itself
  232 |     friend class HANumeric;
....
Multiple times