Re: uuid.d

2016-10-05 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 5 October 2016 at 11:00:19 UTC, Temtaime wrote: Please, remove that ugly module. You don't want to remove it, then you'd just get symbol undefined errors when you use them! The Microsoft headers defined them as extern, ours defined them as regular variables. That's the differe

Re: uuid.d

2016-10-05 Thread Temtaime via Digitalmars-d
On Wednesday, 5 October 2016 at 10:37:20 UTC, Walter Bright wrote: On 10/5/2016 12:56 AM, Manu via Digitalmars-d wrote: I do wonder why these uuid's should be in druntime though? The suite present is far from complete, and there are already libs in the windows ecosystem that have these symbols,

Re: uuid.d

2016-10-05 Thread Walter Bright via Digitalmars-d
On 10/5/2016 12:56 AM, Manu via Digitalmars-d wrote: I do wonder why these uuid's should be in druntime though? The suite present is far from complete, and there are already libs in the windows ecosystem that have these symbols, so is it really useful to define them in druntime? I don't know, I

Re: uuid.d

2016-10-05 Thread Kagamin via Digitalmars-d
https://issues.dlang.org/show_bug.cgi?id=15482 this?

Re: uuid.d

2016-10-05 Thread Manu via Digitalmars-d
ror: error LNK2005: IID_IDirectSoundNotify already defined in phobos64.lib(uuid.obj) Ie, uuid.obj, so I looked in phobos uuid.d and saw nothing. Turns out there's another uuid.d in druntime too, and druntime+phobos are aggregated into phobos64.lib... I wouldn't have expected that. It's all good. I do

Re: uuid.d

2016-10-05 Thread Walter Bright via Digitalmars-d
You can find out what symbols are defined where in a library by using the lib program: lib -l phobos64.lib http://www.digitalmars.com/ctg/lib.html

Re: uuid.d

2016-10-04 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 5 October 2016 at 02:34:52 UTC, Manu wrote: Sure, I can always work-around problems locally. Eh, I tend to stop at "works for me" so I can't do much else. They'd prolly accept a PR adding the other guids to the druntime file though without real hassle, though I wonder if they sh

Re: uuid.d

2016-10-04 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 5 October 2016 at 02:35:27 UTC, Manu wrote: So, phobos64.lib includes druntime? They're not built separately? They are built separately, but bundled together at the last step for distribution.

Re: uuid.d

2016-10-04 Thread Manu via Digitalmars-d
On 5 October 2016 at 12:12, Adam D. Ruppe via Digitalmars-d wrote: > On Wednesday, 5 October 2016 at 01:57:35 UTC, Manu wrote: >> >> it's saying they're already defined in phobos64.lib... wtf? >> I checked std/uuid.d and there's nothing of the sort defined

Re: uuid.d

2016-10-04 Thread Manu via Digitalmars-d
On 5 October 2016 at 12:12, Adam D. Ruppe via Digitalmars-d wrote: > On Wednesday, 5 October 2016 at 01:57:35 UTC, Manu wrote: >> >> it's saying they're already defined in phobos64.lib... wtf? >> I checked std/uuid.d and there's nothing of the sort defined

Re: uuid.d

2016-10-04 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 5 October 2016 at 01:57:35 UTC, Manu wrote: it's saying they're already defined in phobos64.lib... wtf? I checked std/uuid.d and there's nothing of the sort defined in there... They are in the druntime src, core.sys.windows.uuid https://github.com/dlang/druntime/

uuid.d

2016-10-04 Thread Manu via Digitalmars-d
ib, so I link the lib, and it's saying they're already defined in phobos64.lib... wtf? I checked std/uuid.d and there's nothing of the sort defined in there... I can't find any mention of these symbols anywhere in the phobos source. Can any phobos dev's suggest how this mo