uuid.d

Manu via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 5 00:56:25 PDT 2016


On 5 October 2016 at 17:27, Walter Bright via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> 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

It was also written in the error:
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 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?


More information about the Digitalmars-d mailing list