August 03, 2018 [Issue 19137] New: D_BoundsChecks / D_NoBoundsChecks does not support -boundschecks=safeonly | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19137 Issue ID: 19137 Summary: D_BoundsChecks / D_NoBoundsChecks does not support -boundschecks=safeonly Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: pro.mathias.lang@gmail.com When a program is compiled with `-boundschecks=safeonly`, `D_NoBoundsChecks` is *not* defined, but bounds check is turned off in non-safe code, which might break some assumption, e.g. in `@trusted` code. -- |
Copyright © 1999-2021 by the D Language Foundation