how to enable safeD ? dmd.conf ? dmd switch ?
rikki cattermole
rikki at cattermole.co.nz
Tue Jun 8 02:59:28 UTC 2021
On 08/06/2021 2:47 PM, someone wrote:
> https://dlang.org/articles/safed.html
> https://dlang.org/dmd-linux.html#switches
> http://ddili.org/ders/d.en/functions_more.html
>
> Neither man dmd nor man dmd.conf appear to have a related/switch setting.
>
> Does it means safeD is achieved by placing @safe attributes all over the
> place ? Or is it achieved by setting some global switch elsewhere ? Am I
> missing something ?
SafeD is an old name given to the attributes @safe @trusted @system.
There is no switch nor any special behavior now that it has long been
added to mainline D.
More information about the Digitalmars-d-learn
mailing list