[Issue 7729] fileno conflict

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jan 25 11:58:10 PST 2015


https://issues.dlang.org/show_bug.cgi?id=7729

--- Comment #2 from Jacob Carlborg <doob at me.com> ---
(In reply to AndyC from comment #1)

> Is this still a problem?  Can you post some sample code?

import std.stdio;
import core.stdc.stdio;

void main ()
{
    FILE* f;
    fileno(f);
}

The error message I get:

main.d(7,11): Error: core.stdc.stdio.fileno at
~/.dvm/compilers/dmd-2.066.1/osx/bin/../../src/druntime/import/core/stdc/stdio.d(773,10)
conflicts with core.sys.posix.stdio.fileno at
~/.dvm/compilers/dmd-2.066.1/osx/bin/../../src/druntime/import/core/sys/posix/stdio.d(192,8)

So actually now it's a conflict between core.stdc.stdio and
core.sys.posix.stdio.

--


More information about the Digitalmars-d-bugs mailing list