We should deprecate -release

Nicholas Wilson iamthewilsonator at hotmail.com
Sat Jul 13 04:43:07 UTC 2024


On Saturday, 13 July 2024 at 01:55:16 UTC, Steven Schveighoffer 
wrote:
> The `-release` flag is equivalent to `-O -boundscheck=safeonly 
> -inline`.

_Almost_: 
https://github.com/dlang/dmd/blob/82eee6f4e0291e58803dc4e86a6ea236094e91ea/compiler/src/dmd/link.d#L272

That particular... quirk, has been there since at least the C++ 
transition. Is it still needed?
I don't use windows so I have no way of checking, I suspect not 
though.

> I think we should remove it...
> What do you think? Deprecate for 3 versions, then remove.

Sounds good to me.

Nic




More information about the Digitalmars-d mailing list