[LLVMbugs] [Bug 20983] Inline procedure defined in the same module isn't found by the linker

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 18 20:16:15 PDT 2014


Yuri <yuri at tsoft.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Yuri <yuri at tsoft.com> ---
I would like to suggest that compiler issues a warning (or an error) in such

It sees the function is declared inline, defined inline, and used, it knows
that this function is essentially unusable under the C99 standard, so it should

module.c:NN: warning: Function 'setRGB' lacks the strong definition, required
by C99 standard.

This situation may and will cause user questions, because the linker error
isn't descriptive enough.

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/20140919/0fb9aa18/attachment.html>

More information about the llvm-bugs mailing list