www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - The "-release" and "-boundscheck=off" command line switches

reply Cecil Ward <cecil cecilward.com> writes:
Does "-release" imply "-boundscheck=off" automatically in LDC ?
Jun 26 2023
next sibling parent Sergey <kornburn yandex.ru> writes:
On Monday, 26 June 2023 at 19:18:52 UTC, Cecil Ward wrote:
 Does "-release" imply "-boundscheck=off" automatically in LDC ?
No, you can use '-b release-nobounds' for dub or explicitly '-boundscheck=off' with ldc2
Jun 27 2023
prev sibling parent kinke <noone nowhere.com> writes:
On Monday, 26 June 2023 at 19:18:52 UTC, Cecil Ward wrote:
 Does "-release" imply "-boundscheck=off" automatically in LDC ?
The semantics are the same as for DMD, e.g., defaulting to `-boundscheck=safeonly`.
Jul 04 2023