D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21618 - rdmd does not accept `-boundscheck=off` argument
Summary: rdmd does not accept `-boundscheck=off` argument
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-07 22:11 UTC by basile-z
Modified: 2022-04-13 13:11 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description basile-z 2021-02-07 22:11:03 UTC
---
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 skocznymr 2021-05-20 23:08:16 UTC
Works for me on DMD v2.096.1 on Windows.
Comment 2 Dennis 2022-04-13 13:11:08 UTC
Works with current DMD on linux as well.