Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
icculus opened this issue May 10, 2024 · 0 comments
Open

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

icculus opened this issue May 10, 2024 · 0 comments

Comments

@icculus
Copy link
Contributor

icculus commented May 10, 2024

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 libsdl-org/SDL#9440 (comment)

@icculus icculus transferred this issue from libsdl-org/SDL May 10, 2024
@icculus icculus changed the title An entry in the Wiki about which C standard is used by SDL could be useful. Add a wiki page about which C standard is used by SDL. May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant