software would be easier if the authors of C hadn’t decided not to specify any sizes for basic objects
“will this C code from 2008 work as intended on a 64-bit computer?” ¯\_(ツ)_/¯
is there a clang-format flag for “assume the author was running 32-bit windows, now fix this junk”
@hirojin yep that seems like the way you’d do it. Just wish there was a way to say “okay I know this works on this system please make it safer to build on multiple architectures” that wasn’t manual
@ticky i too wish the people who've built all the systems and languages that we're building on top of, had, in their designs, allowed for their own fallibility.
@ticky i honestly don't remember how we made trafficserver 64 bit safe… but i think we basically stopped using all "bare" types, and started exclusively using stdint.h