You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explicitly casting bool to unsigned char and unsigned char to bool gets rid of the errors and warning.
But I don't think it's a good fix, since compilers could build SDL with a bool extension and the problem would appear again.
I tried compiling SDL with Emscripten following the
README-emscripten.md
documentation.Building SDL and examples work.
But building the tests fails:
Because of the
bool
/unsigned char
mismatch, my guess is that SDL was built with C, but the tests are built with C++.The text was updated successfully, but these errors were encountered: