Make printf safe
Walter Bright
newshound2 at digitalmars.com
Mon Jul 15 18:29:27 UTC 2024
On 7/13/2024 11:39 PM, Richard (Rikki) Andrew Cattermole wrote:
> It'll fool you into thinking it works with the latest compiler when
> bootstrapping, and silently cause broken programs in older ones.
It won't be silent, as printf argument checking has been around for many years
in dmd.
> Steven is right, interpolated string wrapper around printf would be a better
> option.
That's more work.
More information about the dip.ideas
mailing list