A project I’m working on compiles with -std=c89 -Wall -Wexta -Wpedantic -Werror tested using gcc, clang, tcc, musl-gcc, and musl-clang. The portability levels are getting out of control
@bonifartius Thanks :) actually not that bad. I wrote what I had before targeting POSIX 2008 and C11. Basically the only changes I had to do were: move my variable declarations to the top of each function, change bools to ints, and write my own implementations for functions in C89. So far the only functions I had to write that are in later standards are strdup and getline.
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.