I think I've gotten bgamari to fix sdl compilation issues by adding stack protector support to Windows toolchain around 9.10.x, but sdl2 project seems to be planning to drop mingw / msys support eventually.
The workaround, as I understand it, is to use a precompiled Windows sdl2.dll binary to get support, but how do we keep the bindings such that it'll compile on Windows?