Thread overview | |||||
---|---|---|---|---|---|
|
May 03, 2016 undefined identifier 'size_t' | ||||
---|---|---|---|---|
| ||||
I have run into an issue compiling with dmd (version 2.071.0), it seems that the 'size_t' alias isn't resolving properly. I was wondering if someone has run into this before and if this is a bug or something I'm doing wrong? My call to dmd is: ..dmd2\windows\bin\dmd.exe -run hello.d -de -w -unittest Here is a sample program: import std.stdio; void main () { stdout.writeln("Hello World!"); } And the ouput: ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\time.d(111): Error: undefined identifier 'size_t' ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\time.d(111): Error: undefined identifier 'size_t' ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\wchar_.d(60): Error: undefined identifier 'size_t' ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\wchar_.d(68): Error: undefined identifier 'size_t' ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\wchar_.d(142): Error: undefined identifier 'size_t' ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\wchar_.d(146): Error: undefined identifier 'size_t' ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\wchar_.d(152): Error: undefined identifier 'size_t' ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\wchar_.d(154): Error: undefined identifier 'size_t' ..dmd2\windows\bin\..\..\src\druntime\import\core\stdc\wchar_.d(154): Error: undefined identifier 'size_t' Thanks |
May 04, 2016 Re: undefined identifier 'size_t' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joshua Hodkinson | Is there a file called object.d in your current directory? |
May 04, 2016 Re: undefined identifier 'size_t' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Wednesday, 4 May 2016 at 01:44:31 UTC, Adam D. Ruppe wrote:
> Is there a file called object.d in your current directory?
Not anymore,
Thanks for pointing that out
|
Copyright © 1999-2021 by the D Language Foundation