Thanks, D_NoBoundsChecks indeed works.
On 06/03/2013 03:11 PM, Timothee Cour wrote:version D_NoBoundsChecks:
> A)
> How to query for compiler flags, eg whether or not "noboundscheck" was set?
http://dlang.org/version.htmlBecause the runtime is not written in D. :) However, it should be easy to translate version=noboundscheck to -noboundscheck.
> B)
> Why aren't we using version=noboundscheck (+ friends) instead of
> -noboundscheck?
It is there! :) (I haven't test it though.)
> C)
> similar to version(assert) which IIRC was introduced later, could we
> introduce version(noboundscheck) (+ friends) ?
Ali