[Issue 18307] New: -transition=intpromote deprecation message confusing
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 26 21:40:49 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18307
Issue ID: 18307
Summary: -transition=intpromote deprecation message confusing
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: timothee.cour2 at gmail.com
see
https://github.com/msgpack/msgpack-d/pull/99/files/728edb1d58c8e027adf5740e3fbcf425639710c4#r164228277
for context.
dmd.2_078_1/.dub/packages/msgpack-d-1.0.0-beta.6/msgpack-d/src/msgpack/unpacker.d(199,30):
Deprecation: integral promotion not done for -header, use
'-transition=intpromote' switch or -cast(int)(header)
* should that be -int(header) instead of -cast(int)(header) ?
* could dmd also report the type of `header` since it already knows about it?
--
More information about the Digitalmars-d-bugs
mailing list