libsdl-org / sdlwiki

This is the raw contents of SDL's wiki. You can edit this through GitHub or at https://wiki.libsdl.org/ now!
https://wiki.libsdl.org/
79 stars 32 forks source link

Add a wiki page about which C standard is used by SDL. #529

Open icculus opened 3 months ago

icculus commented 3 months ago

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