Bug 21618 – rdmd does not accept `-boundscheck=off` argument

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
tools
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-02-07T22:11:03Z
Last change time
2022-04-13T13:11:08Z
Assigned to
No Owner
Creator
Basile-z

Comments

Comment #0 by b2.temp — 2021-02-07T22:11:03Z
--- void main() { } --- $rdmd main.d -boundscheck=off > std.conv.ConvException@/home/travis/dlang/dmd-> 2.094.1/linux/bin64/../../src/phobos/std/conv.d(2225): Can't parse string: bool >should be case-insensitive 'true' or 'false'
Comment #1 by skocznymr — 2021-05-20T23:08:16Z
Works for me on DMD v2.096.1 on Windows.
Comment #2 by dkorpel — 2022-04-13T13:11:08Z
Works with current DMD on linux as well.