Дана 26/02/22 08:02PM, noneofyourbusiness написа: > I've checked the latest revision [1] as well, which sets CC to c17 > instead
Yeah, but ([1]): > C Features > > * Use C99 without extensions (ISO/IEC 9899:1999). > * Use POSIX.1-2008: > - When using gcc define _POSIX_C_SOURCE 200809L. > - Alternatively define _XOPEN_SOURCE 700. Related discussion: [2] I've yet to come across a system with a make which, without explicitly set CC, doesn't set it in a way which is appropriate for the system and project (I didn't use MacOS yet tbh), with the notable exception of Haiku OS, which from my testing needs it set to `CC=clang` in order for C99 programs to compile. [1]: https://suckless.org/coding_style/ [2]: https://lists.suckless.org/dev/2409/35738.html
