Error: module ctype is in file 'std/ctype.d' which cannot be read - when running dmd

cym13 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 24 14:06:30 PDT 2016


On Friday, 24 June 2016 at 21:01:11 UTC, Roman wrote:
> I should probably add that only importing std.ctype causes the 
> error.
> I have a bunch of other imports:
>
>     import std.stdio, std.string, std.algorithm, std.conv, 
> std.ctype, std.regex, std.range;
>
> If I remove std.ctype, it compiles just fine.

std.ctype (as well as other c-specific bindings) was moved to 
core.stdc so just replace std.ctype by core.stdc.ctype and it 
should work as intended.


More information about the Digitalmars-d-learn mailing list