CONTRIBUTING: C11 -> C17

This commit is contained in:
nick black 2025-02-01 09:08:50 -05:00
parent 4b60a752ca
commit 2885adf79b
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -25,7 +25,7 @@ Run `make test` with your changes, and ensure all tests pass. Run
demo code). demo code).
## C standard ## C standard
Notcurses targets the ISO C11 standard. This means you should avoid using Notcurses targets the ISO C17 standard. This means you should avoid using
GNU C extensions as they might not work outside GCC/Clang. To verify your GNU C extensions as they might not work outside GCC/Clang. To verify your
standard compliance on GCC and Clang you can compile with `-std=c11 -pedantic` standard compliance on GCC and Clang you can compile with `-std=c17 -pedantic`
command line arguments. command line arguments.