digitalmars.D.learn - -transition=safe and DIP1000
- Mike Franklin (7/10) Jan 21 2018 What is/was `transition=safe`? I can't find any documentation on
- ketmar (2/3) Jan 21 2018 "nota bene". used as "pay attention to the following".
- Mike Franklin (4/6) Jan 21 2018 Well, I found
- Carsten =?UTF-8?B?QmzDvGdnZWw=?= (12/15) Jan 21 2018 Adding -transition=? to the dmd (v2.078.0) command line doesn't
- Carsten =?UTF-8?B?QmzDvGdnZWw=?= (13/16) Jan 21 2018 My own current problem fits well in this thread:
I found the following statement in the DIP1000 document (https://github.com/dlang/DIPs/blob/master/DIPs/DIP1000.md)NB: this DIP is out of sync with -transition=safe implementation available in dmd and pending a rewrite. Most key points still apply though.What is/was `transition=safe`? I can't find any documentation on it. And what does "NB" mean? Thanks, Mike
Jan 21 2018
Mike Franklin wrote:And what does "NB" mean?"nota bene". used as "pay attention to the following".
Jan 21 2018
On Sunday, 21 January 2018 at 10:04:36 UTC, Mike Franklin wrote:What is/was `transition=safe`? I can't find any documentation on it.Well, I found http://forum.dlang.org/post/gquxgusfhyigirfpejnw forum.dlang.org But, didn't really clear much up for me.
Jan 21 2018
On Sunday, 21 January 2018 at 10:27:05 UTC, Mike Franklin wrote:On Sunday, 21 January 2018 at 10:04:36 UTC, Mike Franklin wrote:Adding -transition=? to the dmd (v2.078.0) command line doesn't show safe listed. My understanding is, currently read DIP1000 as: "NB: this DIP is out of sync with -dip1000 compiler switch implementation ...". Yes, the representation of DIP1000.md deserves improvement: It takes (too) much time to get a grip on it, maybe discouraging, though the idea itself is not that complicated as it is presented. I additionally warmly recommend Walter Bright's "Pointers Gone Wild: Memory Safety and D - Walter Bright | DConf2017" https://www.youtube.com/watch?v=iDFhvCkCLb4What is/was `transition=safe`? I can't find any documentation on it.
Jan 21 2018
My understanding is, currently read DIP1000 as: "NB: this DIP is out of sync with -dip1000 compiler switch implementation ...".My own current problem fits well in this thread: I want to push forward support of -dip1000 in phobos, testing each module's compatibility with -dip1000 individually and try to fix where required/possible. There is https://github.com/dlang/phobos/blob/master/posix.mak, I added to my forks file: DFLAGSSINGLE=$(DFLAGS) -dip1000 and fiddled to introduce DFLAGSSINGLE in the proper target, yet realizing, make/makefile and it's cryptic details knowledge largely left my brain. Can anybody give me a hint, ideally introducing a target for that purpose, if required? Invocation will be: make -f posix.mak std/somemodule.test ?
Jan 21 2018