https://issues.dlang.org/show_bug.cgi?id=22332
mipri <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from mipri <[email protected]> --- This happens already with only D modules: import std.uni, std.ascii; enum x = 'x'.toUpper; Error: function `std.ascii.toUpper!char.toUpper` at /usr/include/dlang/dmd/std/ascii.d(697) conflicts with function `std.uni.toUpper` at /usr/include/dlang/dmd/std/uni/package.d(9980) Which can be resolved with selective imports or renamed imports or as such: import std.uni, std.ascii; enum x = std.ascii.toUpper('x'); In your case, stdio.printf("...") or core.stdc.stdio.printf("...") The latter's a mouthful but you can fix that with a short name that you can also require: import stdio; static import cio = core.stdc.stdio; void main() { printf("this is from importC\n"); cio.printf("Hello, world!\n"); } --
