[Issue 15482] new uuid.d forbids to link statically with other libraries
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Mon Jan 18 01:49:05 PST 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15482
--- Comment #2 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
There's a little incompatibility here: mssdk provides these guids in a static
library and declares them as extern in headers, but gnu toolchain can't handle
this scenario gracefully and would link all guids into executable, hence mingw
headers declare guids as static (hidden in C) and doesn't provide static
library with them. To use mssdk library and declare guids as extern, write
extern extern(C) immutable IID GUID_Button;
(without initializer) instead of what currently is in uuid.d
--
    
    
More information about the Digitalmars-d-bugs
mailing list