February 20 [Issue 24399] New: Link failure on MacOS with address=0x0 points to section(2) with no content in config_a68_4c3.o | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24399 Issue ID: 24399 Summary: Link failure on MacOS with address=0x0 points to section(2) with no content in config_a68_4c3.o Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org Happens with dynamic arrays with an empty initalization. --- template rt_options() { string[] rt_options = []; } alias _ = rt_options!(); --- Remove `= []` and the error goes away. -- |
Copyright © 1999-2021 by the D Language Foundation