http://llvm.org/bugs/show_bug.cgi?id=20983
Yuri <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- --- Comment #2 from Yuri <[email protected]> --- I would like to suggest that compiler issues a warning (or an error) in such case. 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 say: 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.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
