Since I updated to latest version of SDL2 I get a warning when I compile. I am using Visual Studio 2022 Community and I install SDL with Nuget. The log in the compiler sends me here Warning C26819 | Microsoft Learn
There’s no fall-through attribute for MSVC without C++ (the C++ has [[fallthrough]] but C didn’t), so no way to silent this message.
Maybe MSVC will understand wide-accepted // falls through comment placed before SDL_FALLTHROUGH. You can test this and send the pull request to SDL.