www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Meaning of DMD flag -transition=safe

reply =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
What's the meaning of the DMD flag

-transition=safe

?

Is it new? I haven't seen it before.
Sep 15 2016
next sibling parent Jonathan M Davis via Digitalmars-d-learn writes:
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
Sep 15 2016
prev sibling parent Seb <seb wilzba.ch> writes:
On Thursday, 15 September 2016 at 21:36:07 UTC, Nordlöw wrote:
 What's the meaning of the DMD flag

 -transition=safe

 ?

 Is it new? I haven't seen it before.
https://github.com/dlang/dmd/pull/6097
Sep 15 2016