[Issue 19137] New: D_BoundsChecks / D_NoBoundsChecks does not support -boundschecks=safeonly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 3 04:31:47 UTC 2018
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 at puremagic.com
Reporter: pro.mathias.lang at 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.
--
More information about the Digitalmars-d-bugs
mailing list