DMD default safety command line switch

Jack Stouffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 9 16:48:39 PST 2017


On Thursday, 9 March 2017 at 17:48:04 UTC, XavierAP wrote:
> Andrei's 2010 book states that the default safety level can be 
> changed from @system to @safe by means of a -safe command line 
> switch, in the case of the DMD compiler. Now I've tried it and 
> it's not recognized.
>
> Was this feature remove on purpose? I could imagine that.
>
> The default safety keeps being @system, right?
>
> PS I've found this old thread... I'm looking for a bit less 
> long answer to read ;)
> http://forum.dlang.org/thread/hcqb44$1nc9$1@digitalmars.com

Don't know the history, but as recently as a week ago Andrei has 
argued against such behavior has balkanizing the community.


More information about the Digitalmars-d-learn mailing list