December 23, 2013
D:\workspace\...>dmd -v
DMD32 D Compiler v2.064
Copyright (c) 1999-2013 by Digital Mars written by Walter Bright
...

D:\workspace\...>type bug1.d
import std.stdio;

void main()
{
}

D:\workspace\...>dmd bug1.d
D:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(35): Error: module std.c.stdio import 'FHND_WCHAR' not found
D:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(35): Error: module std.c.stdio import 'FHND_TEXT' not found

I just installed 2.064.2 from the 1-click Windows installer.  Everything seemed to install ok.  Any ideas?

Dave
December 23, 2013
On 12/22/2013 9:22 PM, David Held wrote:
> [...]
> D:\workspace\...>dmd bug1.d
> D:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(35): Error: module
> std.c.stdio import 'FHND_WCHAR' not found
> D:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(35): Error: module
> std.c.stdio import 'FHND_TEXT' not found
>[...]

Looks like this was caused by "upgrading", since I had old .di files in druntime/import lying around which were apparently out of date.  Moving the dmd2 directory aside and reinstalling appears to have worked just fine.

Dave