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

Decide on a C standard to target #50

Open
pngwen opened this issue Oct 10, 2024 · 2 comments
Open

Decide on a C standard to target #50

pngwen opened this issue Oct 10, 2024 · 2 comments

Comments

@pngwen
Copy link
Owner

pngwen commented Oct 10, 2024

Discuss C versions and select the target:

Choice:

  • ANSI (C89)
  • C99
  • C11
  • C18
@pngwen pngwen converted this from a draft issue Oct 10, 2024
@de01dwc
Copy link
Contributor

de01dwc commented Oct 10, 2024

May be worth noting from Raylib's repository...

  • Written in plain C code (C99) using PascalCase/camelCase notation

@josiahtripp
Copy link
Contributor

I think C99 would be a good version to go with.
As Matt pointed out, it's the same version that raylib is written in, so maybe it'll help eliminate any possible incompatibilities.
While C11 & C18 may have a few minor features that C99 doesn't posses, I don't think we'd really need them, since most of the differences seem to pertain to aspects that are insignificant to xboing, such as some macros & threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants