foreach counter now must be size_t ?

Kagamin spam at here.lot
Wed Feb 6 14:02:11 UTC 2019


On Tuesday, 5 February 2019 at 21:51:41 UTC, Dukc wrote:
> If so, too bad. But it'll still help, because if I try to 
> compile to 64-bit, the compiler will catch the error. Without 
> the deprecation, there would be a bug (due to 32-bit overflow) 
> that likely never manifests, but bites all the harder if it 
> still does.

There's no limit to error checks, do you compile with warnings 
enabled? See https://dlang.org/articles/warnings.html


More information about the Digitalmars-d mailing list