digitalmars.D.bugs - [Issue 4450] New: writefln throws unexpected runtime error
- d-bugmail puremagic.com (25/25) Jul 12 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4450
- d-bugmail puremagic.com (14/14) Jul 15 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4450
- d-bugmail puremagic.com (10/10) Jul 15 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4450
http://d.puremagic.com/issues/show_bug.cgi?id=4450
Summary: writefln throws unexpected runtime error
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: druntime
AssignedTo: sean invisibleduck.org
ReportedBy: roel.mathys gmail.com
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
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 12 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4450
Roel <roel.mathys gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
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.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 15 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4450
Andrei Alexandrescu <andrei metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrei metalanguage.com
09:58:53 PDT ---
I added the erratum: http://www.erdani.com/tdpl/errata/.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 15 2010









d-bugmail puremagic.com 