August 04, 2002 Re: D safety and simplicity? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | "Pavel Minayev" <evilone@omen.ru> wrote in message news:CFN374676588998264@news.digitalmars.com... > I think there should be a separate switch and/or language statement to control subscript range checking. Having it on in debug builds, and off in release builds seems suitable for most coders, but just in case you also want it in release build, a switch should be there... It is controllable separately with a compiler switch. The -release switch is just a combination of the most popular options for a release build. The point of having it is that it reduces the need for long lists of switches common for doing a release build in C++. Also, I find many people new to a compiler find it frustrating to have to decipher complex lists of switches just to figure out how to get an optimized, release build. |
Copyright © 1999-2021 by the D Language Foundation