Meaning of DMD flag -transition=safe

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 15 15:52:37 PDT 2016


On Thursday, September 15, 2016 21:36:07 Nordlöw via Digitalmars-d-learn 
wrote:
> What's the meaning of the DMD flag
>
> -transition=safe
>
> ?
>
> Is it new? I haven't seen it before.

Well, it wasn't in 2.071. I would guess that it has to do with some of the
work that Walter has been doing to tighten up @safe. A number of things that
were incorrectly considered @safe are now considered @system, and that will
potentially break a lot of code. So, that flag is probably for managing that
transitition (Walter has made a lot of PRs for druntime and phobos to fix
@safe related issues because of it).

- Jonathan M Davis




More information about the Digitalmars-d-learn mailing list