Import conflicts using phobos

Paolo Invernizzi arathorn at NOSPAM_fastwebnet.it
Tue Jun 20 18:21:34 PDT 2006


Hi all,

I've not understood if there's a way of resolving that kind of conflicts 
or we must wait Walter to fix phobos...

How to use writefln and rename in the same module (for example)?

private import std.file;
private import std.stdio;

int main(char[][] arggg) {

     writefln("aaa");
     rename("aa","bb");
     return 0;
}

dmd prova.d
dmd\bin\..\src\phobos\std\file.d(230): function std.file.rename 
conflicts with std.c.stdio.rename at 
dmd\bin\..\src\phobos\std\c\stdio.d(190)

Thanks a lot.
---
Paolo



More information about the Digitalmars-d-learn mailing list