Latest version of mingw? You're on GCC 6, while the latest is 14. You can get the latest one from MSYS2 (along with SDL2, so you don't have to install it manually).
↧