DMD default safety command line switch

XavierAP via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 9 09:48:04 PST 2017


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


More information about the Digitalmars-d-learn mailing list