April 20, 2020 Error: module ctype is in file 'std/ctype.d' which cannot be read - when running dmd | ||||
---|---|---|---|---|
| ||||
https://forum.dlang.org/post/idvspaicssrosayuctnu@forum.dlang.org On Friday, 24 June 2016 at 21:06:30 UTC, cym13 wrote: > 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. Thank you!It's working. |
Copyright © 1999-2021 by the D Language Foundation