Summary: std.stdio conflicts with core.stdc.stdio
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Jerry Quinn <> 2011-10-20 11:00:13 PDT 
import std.stdio;
import std.c.stdio;

void foo() {
  File f = stdin;
  int c = getc(f.getFP());

~/dmd2/linux/bin64/dmd stdiobug.d
stdiobug.d(5): Error: std.stdio.stdin at
/home/jlquinn/dmd2/linux/bin64/../../src/phobos/std/stdio.d(2191) conflicts
with core.stdc.stdio.stdin at

My thought is that the names for stdin should be different.  Otherwise it makes
it harder to use both stdio and c library features together.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to