http://d.puremagic.com/issues/show_bug.cgi?id=10644
Summary: Win64: wrong code when passing arguments through ...
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: wrong-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Rainer Schuetze <[email protected]> 2013-07-15 00:25:39
PDT ---
An example from the unittest of std.outbuffer:
import std.outbuffer;
void main()
{
OutBuffer buf = new OutBuffer();
buf.printf("%d", 42);
assert(buf.toString() == "42");
}
build and run for win64 throws the assertion.
Checking the implementation of OutBuffer.printf shows that there is no uniform
abstraction for passing arguments to printf(string format, ...) anyway, and the
Win64 version seems broken.
This also applies to stream.printf.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------