www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18349] New: std/math.d(543,33): Deprecation: integral

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 puremagic.com
          Reporter: timothee.cour2 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

--
Feb 01 2018