News for hackers. Stuff that matters.
Re:Type-Safe Printf for C by thebruce87m on Tuesday December 14, 2021 @05:56PM (#29559273)
Can’t you just use the inttypes.h along with stdint fixed width types to avoid the multiple compiles?

This stackoverflow answer gives an example: https://stackoverflow.com/questions/7597025/difference-betwe...

Re:Type-Safe Printf for C by edflsafoiewq on Tuesday December 14, 2021 @06:07PM (#29559400)
Of course if you just do everything correctly you don't need safety. But if you are fallible it is nice to have.