www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20211] New: should be set appropriate version for enabled

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

--
Sep 13 2019