[Issue 17895] New: Undefined reference with -inline and static assert

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 11 14:30:09 UTC 2017


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 at puremagic.com
          Reporter: guus_waals at 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)

--


More information about the Digitalmars-d-bugs mailing list