https://issues.dlang.org/show_bug.cgi?id=24364
Issue ID: 24364
Summary: Compilation failure when std.format and ctRegex used
in proximity
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: regression
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
The following minimal example fails to compile starting with dmd 2.099:
import std.format;
import std.regex;
void main() {
string ss = format("", "");
auto r = ctRegex!"";
}
with the error:
error LNK2019: unresolved external symbol
_D4core8internal7switch___T14__switch_errorZQrFNaNbNiNfAyamZv referenced in
function
_D3std3uni__T16UnicodeSetParserTSQBf5regex8internal6parser__T6ParserTAyaTSQCuQBpQBmQBg7CodeGenZQBiZQDi13parseCharTermMFNfZSQEr8typecons__T5TupleTSQFoQFn__T13InversionListTSQGoQGn8GcPolicyZQBhTEQHjQHi__TQHhTQGsZQHp8OperatorZQDh
--