[Issue 23255] undefined reference to `_D4core8internal7switch___T14__switch_errorZQrFNaNbNiNfAyamZv'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 18 11:48:20 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23255
--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Looks like mixing of release and non-release causes this.
foo-release -> does not generate __switch_error.
test-non-release -> generates __switch_error, but assumes that `foo` will too,
so elides the emission. This results in the undefined reference.
Confirmed that in 2.098, test-non-release always emits __switch_error.
--
More information about the Digitalmars-d-bugs
mailing list