Bug 19614 – Integral promotion deprecation msg in core.internal.arrayop

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-01-25T17:07:24Z
Last change time
2024-12-07T13:39:13Z
Assigned to
No Owner
Creator
johanengelen
Moved to GitHub: dmd#17177 →

Comments

Comment #0 by johanengelen — 2019-01-25T17:07:24Z
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
Comment #1 by robert.schadek — 2024-12-07T13:39:13Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17177 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB