On Wednesday, 22 November 2017 at 15:10:40 UTC, Oleg B wrote:
If I add -noboundscheck flag all works fine.

dmd version is 2.076.1

Why -betterC flag not 'include' -noboundscheck flag?
It's bug or in some cases it's useful?


Interestingly, ldc2 will compile this ok, without the -noboundscheck flag

btw. you should start using: boundscheck=off/on/safeonly flag instead i believe.

https://dlang.org/dmd-windows.html#switch-boundscheck

Reply via email to