[Issue 17339] ambiguous mangling with module level const values as alias template argument

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Apr 21 22:24:53 PDT 2017


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

--- Comment #1 from github-bugzilla at puremagic.com ---
Commit pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/b21f445de6e4e8aeb5447c09fde0e8fb179ce99c
workaround Issue 17339 - ambiguous mangling with const alias args

- with multiple definitions with identical mangling getsegment(".text", p)
  returns the section from the previous instance and later the linker complains
  about a group referencing an earlier section
- fixed by reusing the existing group section (while leaving the new one empty)

--


More information about the Digitalmars-d-bugs mailing list