Wait, GCC doesn't yell at me for using noreturn with -std=c89, even though that doesn't exist in the C89 standard? That's very weird... (Ultimately, it doesn't matter, I'll just need to test on the platforms that actually place the C89 requirement on me instead of testing on a modern x86 Linux, but it's still weird...)
Good news: While pcc does not recognise noreturn, if I simply do this (TODO: reasonable way of setting the macro HAVE_NORETURN), it happily compiles my code and doesn't even warn me about the lack of return values in some places...
#ifdef HAVE_NORETURN
#include <stdnoreturn.h>
#define NORETURN noreturn
#else
#define NORETURN
#endif
@vaporeon_ i’m surpurrised you thought the compilers wouldn’t accept this tbh