[Issue 18349] New: std/math.d(543,33): Deprecation: integral promotion not done for -x

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 1 08:46:40 UTC 2018


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

          Issue ID: 18349
           Summary: std/math.d(543,33): Deprecation: integral promotion
                    not done for -x
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: timothee.cour2 at gmail.com

/Users/timothee/homebrew/opt/dmd/include/dlang/dmd/std/math.d(543,33):
Deprecation: integral promotion not done for -x, use '-transition=intpromote'
switch or -cast(int)(x)

dub run dfmt -- -h
Building package dfmt in /Users/timothee/.dub/packages/dfmt-0.5.0/dfmt/
Fetching libdparse 0.7.1 (getting selected version)...
Performing "debug" build using dmd for x86_64.
libdparse 0.7.1: building configuration "library"...
dfmt 0.5.0: building configuration "application"...
/Users/timothee/homebrew/opt/dmd/include/dlang/dmd/std/math.d(543,33):
Deprecation: integral promotion not done for -x, use '-transition=intpromote'
switch or -cast(int)(x)

/Users/timothee/homebrew/opt/dmd/bin/dmd --version
DMD64 D Compiler v2.078.1

--


More information about the Digitalmars-d-bugs mailing list