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
: undefined identifier WIN32_FILE_ATTRIBUTE_DATA,
did you mean struct xxWIN32_FILE_ATTRIBUTE_DATA?
So.. it's almost like in your case the rdmd/dmd command line is not using
the pre-built phobos.lib, but trying to recompile std.file itself.
I assume you have a dmd2\windows\lib\phobos.lib? What
the phobos.lib in
dmd2\windows\lib.
BUT, doing so fails at the rebuild of phobos, giving the error:
std\file.d(530): Error: undefined identifier WIN32_FILE_ATTRIBUTE_DATA,
did you mean struct xxWIN32_FILE_ATTRIBUTE_DATA?
So.. it's almost like in your case the rdmd/dmd command line
\windows\windows.d, rebuilding
druntime, then rebuilding phobos and replacing the phobos.lib in
dmd2\windows\lib.
BUT, doing so fails at the rebuild of phobos, giving the error:
std\file.d(530): Error: undefined identifier WIN32_FILE_ATTRIBUTE_DATA,
did you mean struct xxWIN32_FILE_ATTRIBUTE_DATA
is on the top, don't know why - if it is not
redirected to a file, it is the last thing displayed.
Anyway, thanks for your assistance.
Martin
C:\Program Files\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(530): Error:
undefined identifier WIN32_FILE_ATTRIBUTE_DATA
binaryC:\Program Files\D\dmd2
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
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
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
D:\__dev\D\dmd2\src\phobos\std\file.d530
Now I have found the thread of Walter at
http://www.digitalmars.com/d/archives/digitalmars/D/announce
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,
On Tue, 13 Nov 2012 12:21:06 -, Martin Drasar dra...@ics.muni.cz
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
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
On Tue, 13 Nov 2012 15:37:54 -, Martin Drasar dra...@ics.muni.cz
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
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
compiling:
Error: undefined identifier WIN32_FILE_ATTRIBUTE_DATA
D:\__dev\D\dmd2\src\phobos\std\file.d530
Now I have found the thread of Walter at
http://www.digitalmars.com/d/archives/digitalmars/D/announce/D_version_of_MicroEmacs_24416.html
, but it didn't help me much to solving my problem
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 D:\__dev\D\dmd2\src\phobos\std\file.d 530
Now I have
On Sun, 11 Nov 2012 08:03:40 -, creatio creatio.x...@gmail.com 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
16 matches
Mail list logo