Thread overview
Import conflicts using phobos
Jun 20, 2006
Paolo Invernizzi
Jun 20, 2006
Derek Parnell
Jun 20, 2006
Paolo Invernizzi
June 20, 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
June 20, 2006
On Wed, 21 Jun 2006 11:21:34 +1000, Paolo Invernizzi <arathorn@NOSPAM_fastwebnet.it> wrote:

> 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)?

    std.file.rename("aa","bb");


-- 
Derek Parnell
Melbourne, Australia
June 20, 2006
Thanks Derek, stupid me! ;-P

Paolo


Derek Parnell wrote:

>     std.file.rename("aa","bb");