We should deprecate -release
Nicholas Wilson
iamthewilsonator at hotmail.com
Sat Jul 13 05:06:02 UTC 2024
On Saturday, 13 July 2024 at 04:43:07 UTC, Nicholas Wilson wrote:
> On Saturday, 13 July 2024 at 01:55:16 UTC, Steven Schveighoffer
> wrote:
>> The `-release` flag is equivalent to `-O -boundscheck=safeonly
>> -inline`.
>
> _Almost_:
Actually I got that wrong. There is:
* that that small Windows linker thing
* it does not imply `-O` nor does it imply `-inline`
* it does imply `-boundscheck=safeonly`
* it _also_ implies everything in `-check=off` (except for
boundscheck, which is set to `safeonly`), that is to say it
additionally disables: invariants, (`in` and `out`) contracts,
asserts, and switch errors.
More information about the Digitalmars-d
mailing list