The following code compiles fine, but gives the following "std.format.FormatError: std.format integral" when ran. import std.stdio; void main() { writefln ("%i", 4); } DMD v2.047 Regards, Roel
I see now on http://www.digitalmars.com/d/2.0/phobos/std_format.html#format-string that %i is not a valid formatting option. The %i is mentioned in the TDPL book on page 5.
I added the erratum: http://www.erdani.com/tdpl/errata/.