Added information about C standard to the CONTRIBUTING

Probably useful for people who want to contribute C code.
This commit is contained in:
igo95862 2020-12-01 18:09:39 +03:00 committed by Nick Black
parent 24640eb80e
commit 5f45d9178b

View File

@ -23,3 +23,9 @@ an ASCII equivalent if not present (or return an error).
Run `make test` with your changes, and ensure all tests pass. Run
`notcurses-demo` as well, if you changes are to the core library or the
demo code.
## C standard
Notcurses targets the ISO C11 standard. This means you should avoid using
GNU C extensions as they might not work outside GCC/Clang. To verify your code
standard compliance on GCC and Clang you can complile with `-std=c11 -pedantic`
command line arguments.