On Saturday, July 01, 2017 17:09:47 Andrei Alexandrescu via Digitalmars-d wrote: > I've followed the instructions at > https://wiki.dlang.org/Building_under_Posix to build posix on Win32 > using wine (awesome possum!). It works great for building dmd and then > druntime. However when I try to build phobos I get the odd errors pasted > below. Any ideas on why that is happening? Thanks! -- Andrei > > std\xml.d(1650): Error: function std.xml.Item.opEquals does not override > any function, did you mean to override 'object.Object.opEquals'? [...]
Well, that looks bad, and it really should be working better than that, but I would point out that (at least, the last time I checked), wine does not behave correctly with regards to some of the date/time stuff, so some of the std.datetime tests will fail with wine, and fixing that requires that wine start behaving like Windows like it's supposed to. So, best case, at least some Phobos tests will fail under wine, but it _should_ work to at least build and use dmd and Phobos under wine. It just will have some of the issues that you typically get running windows applications under wine. I haven't done it in years though, so I have no idea how up-to-date those instructions are. - Jonathan M Davis
