4 days ago
https://issues.dlang.org/show_bug.cgi?id=19669

Seb <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #1 from Seb <greeenify@gmail.com> ---
For reference and completeness, here's a better example of what you can do already to detect dip1000:

```d
void main()
{
    enum isDIP1000 = __traits(compiles, () @safe {
         int x;
         int* p;
         p = &x;
    });
    pragma(msg, isDIP1000);
}
```

normal: https://run.dlang.io/is/RID7vh
-dip1000: https://run.dlang.io/is/1yJfVQ

--
1 day ago
https://issues.dlang.org/show_bug.cgi?id=19669

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petar.p.kirov@gmail.com

--- Comment #2 from ZombineDev <petar.p.kirov@gmail.com> ---
IMO, https://dlang.org/spec/traits.html#getTargetInfo should be able to give you all specified compiler flags, not just -dip1000.

--