www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19614] New: Integral promotion deprecation msg in

https://issues.dlang.org/show_bug.cgi?id=19614

          Issue ID: 19614
           Summary: Integral promotion deprecation msg in
                    core.internal.arrayop
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: johanengelen weka.io

core.internal.arrayop does not compile cleanly. A long string of these
deprecation warnings shows up:

```
core/internal/arrayop.d-mixin-144(144): Deprecation: integral promotion not
done for `-a`, use '-transition=intpromote' switch or `-cast(int)(a)`
core/internal/arrayop.d-mixin-57(57): Deprecation: integral promotion not done
for `-_param_2[pos]`, use '-transition=intpromote' switch or
`-cast(int)(_param_2[pos])`
core/internal/arrayop.d-mixin-57(57): Deprecation: integral promotion not done
for `-_param_2`, use '-transition=intpromote' switch or `-cast(int)(_param_2)`
core/internal/arrayop.d-mixin-57(57): Deprecation: integral promotion not done
for `-_param_2[pos]`, use '-transition=intpromote' switch or
`-cast(int)(_param_2[pos])`
core/internal/arrayop.d-mixin-144(144): Deprecation: integral promotion not
done for `-a`, use '-transition=intpromote' switch or `-cast(int)(a)`
core/internal/arrayop.d-mixin-57(57): Deprecation: integral promotion not done
for `-_param_2[pos]`, use '-transition=intpromote' switch or
`-cast(int)(_param_2[pos])`
core/internal/arrayop.d-mixin-57(57): Deprecation: integral promotion not done
for `-_param_2`, use '-transition=intpromote' switch or `-cast(int)(_param_2)`
```

dlang 2.084

--
Jan 25 2019