On Wednesday, 4 July 2018 at 02:54:47 UTC, Joe wrote:
Now I fixed this by changing the import to core.stdc.stdio. I guess the problem is if you import std.stdio (which brings in the other one), there are two slightly incompatible stdout's and the D takes precedence.

If you import both modules (or even I think if just the D std.stdio, since it publicly imports the other), you can specify the C one by using its full name:

core.stdc.stdio.stdout

where you use it. of course you can also alias it to something shorter.

Reply via email to