digitalmars.D.learn - Import conflicts using phobos
- Paolo Invernizzi (18/18) Jun 20 2006 Hi all,
- Derek Parnell (6/10) Jun 20 2006 std.file.rename("aa","bb");
- Paolo Invernizzi (3/4) Jun 20 2006 Thanks Derek, stupid me! ;-P
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
Jun 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
Jun 20 2006
Thanks Derek, stupid me! ;-P
Paolo
Derek Parnell wrote:
std.file.rename("aa","bb");
Jun 20 2006








Paolo Invernizzi <arathorn NOSPAM_fastwebnet.it>