February 20, 2008
Bill Baxter wrote:
> Bill Baxter wrote:
>> Derek Parnell wrote:
>>> On Tue, 19 Feb 2008 19:33:56 -0800, Walter Bright wrote:
>>>
>>>> Bill Baxter wrote:
>>>>> And did you update the zip on ftp too?  Seems unchanged.
>>>> Ah, I see the problem, I copied the wrong file. Please try again.
>>>
>>> Still doesn't compile (dmd 2.010).
>>>
>>> console.d:32 "static INPUT_RECORD lookaheadir;" - what is an INPUT_RECORD?
>>>
>>
>> Looks like maybe some bit of Windows API Walter hasn't checked into std.c.windows.windows yet:
>> http://msdn2.microsoft.com/en-us/library/ms683499(VS.85).aspx?s=21
> 
> My bad, i hadn't unpacked dmd 2.011 yet.  Those structs were indeed added to std.c.windows.windows in 2.011 so Walter could compile microemacs.
> 
> --bb

... but now I get a link error:

f:\usr\pkg\d2\dmd\bin\..\lib\phobos.lib(stdio)
 Error 42: Symbol Undefined _popen

OS is WinXP.

--bb
February 20, 2008
Bill Baxter wrote:
> Derek Parnell wrote:
>> Still doesn't compile (dmd 2.010).
>>
>> console.d:32 "static INPUT_RECORD lookaheadir;" - what is an INPUT_RECORD?
>>
> 
> Looks like maybe some bit of Windows API Walter hasn't checked into std.c.windows.windows yet:
> http://msdn2.microsoft.com/en-us/library/ms683499(VS.85).aspx?s=21

Need dmd 2.011 with the updated windows API.
February 20, 2008
Bill Baxter wrote:
> ... but now I get a link error:
> 
> f:\usr\pkg\d2\dmd\bin\..\lib\phobos.lib(stdio)
>  Error 42: Symbol Undefined _popen
> 
> OS is WinXP.

As a workaround, you can stick in a function:

	extern (C) void popen() { assert(0); }
February 20, 2008
Walter Bright wrote:
> As a workaround, you can stick in a function:
> 
>     extern (C) void popen() { assert(0); }

Ah, I went ahead and did that and uploaded a new zip file.
1 2
Next ›   Last »