dmd 2.099 regression: unittest -checkaction=context and import std.regex cause lots of undefined references
Gavin Ray
ray.gavin97 at gmail.com
Mon Nov 14 17:08:38 UTC 2022
On Saturday, 28 May 2022 at 23:02:45 UTC, kdevel wrote:
> On Friday, 18 March 2022 at 19:42:02 UTC, Anonymouse wrote:
>> On Thursday, 17 March 2022 at 14:00:45 UTC, kdevel wrote:
>>> If ```import std.regex;``` is commented out or if
>>> ```-checkaction=context``` is removed from the cmd line the
>>> unittest passes. Can anybody reproduce this?
>>
>> https://run.dlang.io/is/GYDUBz
>>
>> File an issue, I'd say. The worst thing that can happen is
>> that someone flags it as a duplicate.
>
> Issue 22902 - dmd 2.099 regression: unittest
> -checkaction=context and import std.regex causes link error
> (edit)
> https://issues.dlang.org/show_bug.cgi?id=22902
Just came here to say I hit the same bug, here's my import list:
```d
import std.typecons : Tuple;
import std.container : Array;
import std.format : format;
import std.stdio;
import std.file;
import std.conv;
import std.outbuffer;
import core.stdc.stdio;
import core.stdc.stdint;
import core.sys.posix.fcntl;
import core.sys.posix.unistd;
```
More information about the Digitalmars-d-learn
mailing list