[llvm-bugs] [Bug 45054] can not link object emitted by clang

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 28 17:16:49 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=45054

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rnk at google.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
The last time this came up, Richard said the code is invalid:
https://bugs.llvm.org/show_bug.cgi?id=42027#c1

You need to mark the specialization `inline` if you want duplicate definitions
to be merged. An argument can be made for GCC compatibility, but I believe
clang is standards-conforming.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200229/ed1eb088/attachment.html>


More information about the llvm-bugs mailing list