2 ms·
We just need C99 with compiler flags that define the undefined behavior. Basically just turn off strict aliasing and force the compiler to assume 2's complement
by matheusmoreira 3y ago
We just need C99 with compiler flags that define the undefined behavior. Basically just turn off strict aliasing and force the compiler to assume 2's complement as the signed integer representation. The -fno-strict-aliasing and -fwrapv flags fix a lot of problems.
There's been some pretty good quality of life features introduced by recent standards. Just backport them to C99 or something.