An entry in the Wiki about which C standard is used by SDL could be useful.
Something like:
### C Standard:
Building a project with SDL: C89 and newer
Building the SDL library itself: C99 and newer
And maybe a note about which C99 features are used to build SDL itself:
### C99 features used to build the SDL library itself:
// comments
variable declarations in the for loop init-clause
va_copy function from <stdarg.h> (src/SDL_log.c)
inline function specifier (in dbus-1.0 headers)
Originally posted by @Sackzement in https://github.com/libsdl-org/SDL/issues/9440#issuecomment-2079272516