[Issue 20211] New: should be set appropriate version for enabled DIPs (in command lines)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 13 10:57:46 UTC 2019


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

          Issue ID: 20211
           Summary: should be set appropriate version for enabled DIPs (in
                    command lines)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: black80 at bk.ru

my library should be compiled with command option -dip1000 
but I cann't to determine it in static assert.
memory corruption can occur without it.
static assert at CT is better than random crashed application.

for future when u add option to compiler for any DIP please add appropriate
version too.
if such version exists then update documentation too 
https://dlang.org/spec/version.html#predefined-versions

--


More information about the Digitalmars-d-bugs mailing list