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

duapple duapple2 at gmail.com
Mon Apr 20 06:29:59 UTC 2020


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.


More information about the Digitalmars-d-learn mailing list