Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

Martin Drasar drasar at ics.muni.cz
Tue Nov 13 04:21:06 PST 2012


On 13.11.2012 12:41, Regan Heath wrote:
>> Hi Regan,
>>
>> rdmd --eval="import std.file;" --main
>>
>> Environment: DMD32 D Compiler v2.060, Windows 7 Pro 32bit
> 
> I get no errors, in fact I get no output at all from that command line.
> 
> Environment: DMD32 D Compiler v2.060, Windows 7 Pro 64bit
> 
> R

Hmm,

that is might strange. I have just downloaded D installer from the
website, installed it on Windows 7 Pro 64bit and ran the command and
this is what I got:

> std.cpuid has been deprecated. It will be removed in January 2013. Please use co
> re.cpuid instead.
> C:\Program Files\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(530): Error: und
> efined identifier WIN32_FILE_ATTRIBUTE_DATA

Which is exactly the same error I have on 32bit machine.

Martin


More information about the Digitalmars-d mailing list