www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18367] New: dmd should not segfault on -X with libraries, but

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

          Issue ID: 18367
           Summary: dmd should not segfault on -X with libraries, but no
                    source files
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com

dmd -conf= -X foo.a

segfaults. Okay, it's a bizarre and wrong usage, but it should still print a
proper error message and not SEGFAULT.

PR incoming.

--
Feb 04 2018