Commit Graph
3 Commits
Author SHA1 Message Date
Jack Andersen 8bd59ec936 Use fputws for outputting wide strings
Also adds fwide byte/wide orientation checking to verify streams are
able to receive the character type in question.

On Windows, the fwide calls are no-ops that pass through the second
arg and optimize out the if statement entirely.
2019-07-25 10:29:32 +03:00
Jack Andersen d561cb47a7 Opt-in macro to enforce use of compile-time format strings 2019-07-16 07:08:59 +02:00
Jack Andersen 699fe8e711 Remove const qualification in compile-time checks 2019-07-15 09:20:16 +02:00