[Issue 342] Please add "import std.stdio; " to object.d and remove extern(C) printf;
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 16 18:53:22 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=342
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|Linux |All
Platform|Other |All
Flag| |d1.0blocker?
------- Comment #2 from smjg at iname.com 2006-12-16 20:53 -------
For a moment I'd forgotten that this had already been filed here!
Should object.d import the whole of stdio, or only writef and writefln? I was
about to propose using
public import std.stdio : writef, writefln;
There may be people who still want to use printf regardless, but they can
import it. Just put it back in std.c.stdio where it belongs. There's no
reason that D should make the printf antique more readily accessible than all
other library features.
See also issue 689.
--
More information about the Digitalmars-d-bugs
mailing list