Spirik / GEM

Good Enough Menu for Arduino
GNU Lesser General Public License v3.0
239 stars 36 forks source link

Fix designated initializers for ESP32 compiler #98

Closed Spirik closed 2 months ago

Spirik commented 2 months ago

Addresses #96 and #97 error either all initializer clauses should be designated or none of them should be that appear if compiled for ESP32 boards with the most recently updated boards via Arduino IDE.

The issue was due to more strict regulations of designated initializers in recent compilers starting with C++20. And recent update of ESP32 core version 3.0 (that comes with boards update via Arduino IDE) uses C++23.