www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18403] New: Access violation when deprecated feature

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

          Issue ID: 18403
           Summary: Access violation when deprecated feature encountered
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: naydef abv.bg

Hello everyone and excuse me for everything wrong with this thread,
I upgraded the dmd from version 2.078.1 to 2.078.2. Everything was working
correctly in 2.078.1, but now my project won't build with 2.078.2, the dmd
compiler exits with this message
E:\bugtest>dub build
Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for x86.
bugtest ~master: building configuration "application"...
source\app.d(4,4): Deprecation:
object.Error (0): Access Violation
----------------
0x0065445A
0x006548FE
0x0064DBD3
0x0064DE3F
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

E:\bugtest>

Minimal reproduction example:
void main()
{
        ushort i;
        i=~i;
}


Yes, i'm using a feature which was deprecated.
Again, excuse me if there is something wrong with this bug report

--
Feb 08 2018