On Wednesday, 4 June 2014 at 13:48:04 UTC, Andre wrote:
I currently wonder what is included by adding no switch to DMD?


default (no switch) = asserts, contracts, boundscheck=all
-debug = include code marked with debug keyword
-unittest = include unittests
-g = include debug info
-release = do not include asserts, contracs, boundscheck=safeonly, some switch optimizations

-boundscheck option can override -release option for turning on or off all bounds checking (there is deprecated -noboundscheck in 2.065 or earlier)

Reply via email to