[Issue 22374] [REG 2.093] 'import std;' with -checkaction=context causes link error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 30 10:41:44 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=22374

kdevel <kdevel at vogtner.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdevel at vogtner.de

--- Comment #3 from kdevel <kdevel at vogtner.de> ---
(In reply to Paul Backus from comment #0)
> As of DMD 2.097.2, compiling the following program with the flag
> `-checkaction=context` results in a linker error.
> 
> ---
> import std;
> 
> void main()
> {
>     assert(0);
> }
> ---
> 

WORKSFORME 

$ dmd --version
DMD64 D Compiler v2.109.1
Copyright (C) 1999-2024 by The D Language Foundation, All Rights Reserved
written by Walter Bright
$ cat asszer.d 
import std;

void main()
{
    assert(0);
}
$ dmd asszer.d
$ ./asszer
core.exception.AssertError at asszer.d(5): Assertion failure
----------------
??:? _d_assertp [0x4bbf14]
??:? _Dmain [0x4b30e0]

--


More information about the Digitalmars-d-bugs mailing list