Re: -transition=safe and DIP1000

2018-01-21 Thread Carsten Blüggel via Digitalmars-d-learn

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   ?


Re: -transition=safe and DIP1000

2018-01-21 Thread Carsten Blüggel via Digitalmars-d-learn

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:

What is/was `transition=safe`?  I can't find any documentation 
on it.


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=iDFhvCkCLb4


Re: -transition=safe and DIP1000

2018-01-21 Thread Mike Franklin via Digitalmars-d-learn

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/gquxgusfhyigirfpe...@forum.dlang.org


But, didn't really clear much up for me.



Re: -transition=safe and DIP1000

2018-01-21 Thread ketmar via Digitalmars-d-learn

Mike Franklin wrote:


And what does "NB" mean?

"nota bene". used as "pay attention to the following".


-transition=safe and DIP1000

2018-01-21 Thread Mike Franklin via Digitalmars-d-learn
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