[Issue 22335] Exporting variables from DLLs is unusable
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Jan 26 07:57:44 UTC 2023
    
    
  
https://issues.dlang.org/show_bug.cgi?id=22335
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
It's currently necessary to manually create a .di file with the contents:
    export extern __gshared int x;
for this to work.
--
    
    
More information about the Digitalmars-d-bugs
mailing list