i'd like to compile my SDL2-using projects with alternative C compilers, such as tcc or cproc for faster compilation speed (or to check for GNUisms) while developing, however all of them bail out failing to parse GCC's intrinsics headers which are unconditionally included.
after some discussion with fellow compiler authors and linux distribution packagers we all agreed that SDL shouldn't include the intrinsics headers from a public, but only from a private header for internal use (i.e. during compile of SDL2 itself).
alternatively, the inclusion of all of the intrinsics headers could be shielded by some preprocessor macro such as SDL_INTERNAL which is defined during the build using the build system but not in SDL's headers themselves.