-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GlyphFactory.cpp:20:22: error: array subscript has type 'char' [-Werror=char-subscripts] #2
Comments
here i will correct it so it runs in ESP32. please Double check it before take over to your Repo, because i do not check if it is running on PC ! |
same Story for the delete[]. there is no new[]. so delete[] is wrong. https://stackoverflow.com/questions/2425728/delete-vs-delete-operators-in-c |
Thanks. I fixed the |
I agree that there is an issue with the code and that this warning is justifiable. However, this is how the code in the book is. |
GlyphFactory.cpp:20:22: error: array subscript has type 'char' [-Werror=char-subscripts]
char is signed on some machines.
a Subscript of an Array is defined unsigned in C (0....n)
The text was updated successfully, but these errors were encountered: