www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17895] New: Undefined reference with -inline and static assert

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

          Issue ID: 17895
           Summary: Undefined reference with -inline and static assert
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: guus_waals live.nl

Created attachment 1661
  --> https://issues.dlang.org/attachment.cgi?id=1661&action=edit
Gives linker errors when compiled with "dmd module.d -inline -main"

Tested with "DMD64 D Compiler v2.076.1-179-g5b86f4575"
I attached a small example that causes these undefined references (reduced from
a vibe.d module)

--
Oct 11 2017