Closed 45gfg9 closed 2 years ago
Good catch! Although I am not getting those exact warnings/errors (but do get a lot of char *
ones) in Arduino IDE no matter what level of "Compiler warnings" I set up in Preferences (didn't try to compile in VS Code though). Do you use another dev environment with more restricted compiler settings?
Oh, yes, I used VSCode + PlatformIO setup.
Thank you for your PR! Updates will be shipped with the next release.
When compiling for ESP32, compiler emits errors for every
GEMItem
constructor for-Werror=reorder
like this:When compiling for ESP8266, compiler emits error for
getSelectedOptionNum
not returning a value in all cases like this:This PR fixes these two problems, and I decided not to fix all the
char *
warnings...