www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - std.file.write versus std.stdio.write

reply "dsmith" <ds nomail.com> writes:
import std.stdio;   // no std.file is imported, yet the following 
error:

Error: std.file.write at /usr/include/dmd/phobos/std/file.d(419) 
conflicts with std.stdio.write!(string,string).write at 
/usr/include/dmd/phobos/std/stdio.d(1544)
Nov 28 2012
next sibling parent "dsmith" <ds nomail.com> writes:
On Wednesday, 28 November 2012 at 15:11:01 UTC, dsmith wrote:
 import std.stdio;   // no std.file is imported, yet the 
 following error:

 Error: std.file.write at 
 /usr/include/dmd/phobos/std/file.d(419) conflicts with 
 std.stdio.write!(string,string).write at 
 /usr/include/dmd/phobos/std/stdio.d(1544)

A library imported has, in turn, import std.file
Nov 28 2012
prev sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Wednesday, November 28, 2012 16:11:01 dsmith wrote:
 import std.stdio;   // no std.file is imported, yet the following
 error:
 
 Error: std.file.write at /usr/include/dmd/phobos/std/file.d(419)
 conflicts with std.stdio.write!(string,string).write at
 /usr/include/dmd/phobos/std/stdio.d(1544)

If you have questions, post them in D.Learn. If you have a bug report, report it at http://d.puremagic.com/issues Please, do not post to this list. It's only intended for messages from bugzilla. Posting from anyone else really shouldn't even be enabled. - Jonathan M Davis
Nov 28 2012