Compile Tango for DMD2 - Any instructions how to do it?

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 18 07:19:48 PDT 2016


On 2016-05-18 14:32, TheDGuy wrote:

> Okay, now i get this:
>
> Performing "debug" build using dmd for x86.
> tango ~master: building configuration "static"...
> tango\sys\win32\WsaSock.d(31,14): Warning: instead of C-style syntax,
> use D-style syntax 'char[WSADESCRIPTION_LEN + 1] szDescription'
> tango\sys\win32\WsaSock.d(32,14): Warning: instead of C-style syntax,
> use D-style syntax 'char[WSASYS_STATUS_LEN + 1] szSystemStatus'
> tango\stdc\posix\unistd.d(31,9): Error: undefined identifier 'uid_t'
> dmd failed with exit code 1.

Everything in tango/stdc/posix should be ignored when compiling on 
Windows. Seems like this line isn't working [1], fore some reason.

I think that the developers that are using Tango are mostly using Linux 
or Posix.

[1] https://github.com/SiegeLord/Tango-D2/blob/d2port/dub.json#L32

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list