Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-15 Thread Rainer Schuetze
On 11/15/2012 8:17 AM, Martin Drašar wrote: Dne 15.11.2012 7:45, Rainer Schuetze napsal(a): [...] > > importcore.sys.windows.windows(C:\Program Files\D\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\windows.di) since dmd 2.060 most of the files in druntme/import are

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-14 Thread Martin Drašar
Dne 15.11.2012 7:45, Rainer Schuetze napsal(a): [...] > > importcore.sys.windows.windows(C:\Program Files\D\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\windows.di) since dmd 2.060 most of the files in druntme/import are plain copies of the source .d files, not generat

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-14 Thread Rainer Schuetze
On 11/14/2012 9:49 PM, Martin Drašar wrote: Dne 14.11.2012 18:18, Regan Heath napsal(a): I hope this gives a hint where the problem might be. I hope so to .. but I don't have a clue. I'm not at all familiar with the output of dumpobj so I can't really debug this any further. TBH I was bank

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-14 Thread Martin Drašar
Dne 14.11.2012 18:18, Regan Heath napsal(a): I hope this gives a hint where the problem might be. I hope so to .. but I don't have a clue. I'm not at all familiar with the output of dumpobj so I can't really debug this any further. TBH I was banking on you not finding the symbols or them bein

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-14 Thread Regan Heath
On Wed, 14 Nov 2012 15:37:19 -, Martin Drasar wrote: On 14.11.2012 15:28, Regan Heath wrote: Well.. druntime is built into a lib, and phobos is built using that lib. So, the only way I can imagine reproducing this error is by altering dmd2\src\druntime\import\core\sys\windows\windows.d,

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-14 Thread Martin Drasar
On 14.11.2012 15:28, Regan Heath wrote: > Well.. druntime is built into a lib, and phobos is built using that > lib. So, the only way I can imagine reproducing this error is by > altering dmd2\src\druntime\import\core\sys\windows\windows.d, rebuilding > druntime, then rebuilding phobos and replaci

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-14 Thread Regan Heath
On Tue, 13 Nov 2012 22:52:42 -, Martin Drašar wrote: Dne 13.11.2012 17:44, Regan Heath napsal(a): Does your dmd2\src\druntime\import\core\sys\windows\windows.d file have a definition of WIN32_FILE_ATTRIBUTE_DATA on line 448? Yup, it is there. struct WIN32_FILE_ATTRIBUTE_DATA { DW

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-13 Thread Martin Drašar
Dne 13.11.2012 17:44, Regan Heath napsal(a): I suspect the reason you only see the deprecation message with rdmd is the import of "std.cpuid" in the above. So, I believe that is one mystery solved but the main problem still isn't a problem on my machine for some reason. Good... one down, one l

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-13 Thread Regan Heath
On Tue, 13 Nov 2012 15:37:54 -, Martin Drasar wrote: On 13.11.2012 15:00, Regan Heath wrote: Curiouser and curiouser. In my case I had (re)built phobos/druntime so, suspecting it might be causing issues I download a fresh copy of the installer, moved my old installation folder and repl

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-13 Thread Martin Drasar
On 13.11.2012 15:00, Regan Heath wrote: > Curiouser and curiouser. In my case I had (re)built phobos/druntime so, > suspecting it might be causing issues I download a fresh copy of the > installer, moved my old installation folder and replaced it with the new > one. > > I still don't get any out

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-13 Thread Regan Heath
On Tue, 13 Nov 2012 12:21:06 -, Martin Drasar wrote: 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:

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-13 Thread Martin Drasar
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 64bi

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-13 Thread Regan Heath
On Mon, 12 Nov 2012 21:22:16 -, Martin Drašar wrote: Dne 11.11.2012 21:41, Regan Heath napsal(a): On Sun, 11 Nov 2012 08:03:40 -, creatio wrote: I'm not sure if this is the correct forum. But It looks like I'm one of the few people that ran into this. I've recently upgraded to

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-12 Thread Martin Drašar
Dne 11.11.2012 21:41, Regan Heath napsal(a): On Sun, 11 Nov 2012 08:03:40 -, creatio wrote: I'm not sure if this is the correct forum. But It looks like I'm one of the few people that ran into this. I've recently upgraded to 2.60 and been getting this error when compiling: Error: undefin

Re: Undefined identifier WIN32_FILE_ATTRIBUTE_DATA

2012-11-11 Thread Regan Heath
On Sun, 11 Nov 2012 08:03:40 -, creatio wrote: I'm not sure if this is the correct forum. But It looks like I'm one of the few people that ran into this. I've recently upgraded to 2.60 and been getting this error when compiling: Error: undefined identifier WIN32_FILE_ATTRIBUTE_DATA