http://d.puremagic.com/issues/show_bug.cgi?id=6834
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 AssignedTo: nob...@puremagic.com ReportedBy: jlqu...@optonline.net --- Comment #0 from Jerry Quinn <jlqu...@optonline.net> 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 /home/jlquinn/dmd2/linux/bin64/../../src/druntime/import/core/stdc/stdio.di(262) 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------