[Issue 24364] New: Compilation failure when std.format and ctRegex used in proximity
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 31 18:46:31 UTC 2024
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: nobody at puremagic.com
Reporter: ofsfmq+2y1kh9wla11eg at grr.la
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
--
More information about the Digitalmars-d-bugs
mailing list