[Issue 6019] Phobos imports in autogenerated .di header files break implicit linking with DLLs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 25 16:31:27 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=6019

Richard Cattermole <alphaglosined at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|bootcamp                    |
                 CC|                            |alphaglosined at gmail.com

--- Comment #12 from Richard Cattermole <alphaglosined at gmail.com> ---
I'm removing the bootcamp keyword from this bug.

Setting a symbol as export is not enough to get this working.

DllImport while in theory implemented in dmd as of 2.102.0 does not do any
patching at runtime required to dereference the pointer.

I went into attempting to solve this in my post here:
https://forum.dlang.org/post/ohflhdaggtapeqpynkjd@forum.dlang.org

--


More information about the Digitalmars-d-bugs mailing list