[Issue 22897] importC: segfault calling forward-declared static function through pointer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 20 04:10:32 UTC 2022


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

--- Comment #3 from duser at neet.fi ---
Created attachment 1843
  --> https://issues.dlang.org/attachment.cgi?id=1843&action=edit
dmd verbose log

are you compiling with -fPIC? it's in the default dmd.conf but i noticed
removing it makes the crash go away

i've attached the log from compiling the test snippet with "dmd -v test.c" in
case there are any differences with yours

--


More information about the Digitalmars-d-bugs mailing list