[LLVMbugs] [Bug 7516] inlining a C function causes clang to not link properly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 28 09:24:46 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7516

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|                            |INVALID

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2010-06-28 11:24:46 CDT ---
That code isn't valid C99; if you want it to be valid, add "extern" to the
inline function definition.  If you want the GNU inlining semantics, compile
with -std=gnu89 .

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list